Merge branch 'master' into 'master'
lxsession polkit duktape build dosyaları See merge request turkman/packages/main!64
This commit is contained in:
commit
2157bf3d33
3 files changed
+86
-17
No files matched your search
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='duktape'
|
||||||
|
release='1'
|
||||||
|
version='2.7.0'
|
||||||
|
url='https://duktape.org'
|
||||||
|
description='Embeddable Javascript engine'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('MIT')
|
||||||
|
source=("https://duktape.org/$name-$version.tar.xz")
|
||||||
|
depends=(glibc)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('b3200b02ab80125b694bae887d7c1ca6')
|
||||||
|
group=(dev.lang)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
_make() (
|
||||||
|
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr "$@"
|
||||||
|
)
|
||||||
|
|
||||||
|
build(){
|
||||||
|
_make
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
_make DESTDIR="$DESTDIR" install
|
||||||
|
install -Dt "$DESTDIR/usr/share/licenses/$name" -m644 LICENSE.txt
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,27 +1,29 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='lxsession'
|
name='lxsession'
|
||||||
release='1'
|
release='1'
|
||||||
version='0.5.5-2'
|
version='0.5.5'
|
||||||
url='https://salsa.debian.org/lxde-team/lxsession'
|
url='https://lxde.org'
|
||||||
description='LXDE session manager'
|
description='Lightweight X11 session manager'
|
||||||
email='bayramk@gmail.com'
|
email='akarsu@protonmail.com'
|
||||||
maintainer='bk'
|
maintainer='akarsu'
|
||||||
license=('GPLv3')
|
license=('GPL2')
|
||||||
source=("https://salsa.debian.org/lxde-team/lxsession/-/archive/debian/0.5.5-2/lxsession-debian-0.5.5-2.tar.gz")
|
source=("https://downloads.sourceforge.net/lxde/$name-$version.tar.xz")
|
||||||
depends=()
|
depends=(gtk3 polkit)
|
||||||
makedepends=()
|
makedepends=(intltool vala docbook-xsl)
|
||||||
md5sums=('57c0a337a43c256d15962a07667107d3')
|
md5sums=('e8380acef215ee7c99c067a2241c2c7b')
|
||||||
group=(lxde.base)
|
group=(lxde.base)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-debian-$version
|
cd $name-$version
|
||||||
|
rm *.stamp
|
||||||
setup(){
|
setup(){
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
./configure --sysconfdir=/etc \
|
||||||
--libdir=/usr/lib64/ \
|
--libexecdir=/usr/lib \
|
||||||
--enable-gtk3
|
--enable-gtk3 \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
@@ -29,6 +31,9 @@ build(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
make DESTDIR="$DESTDIR" install $jobs
|
||||||
|
# Ignore package by AppStream to avoid duplicated IDs
|
||||||
|
echo 'X-AppStream-Ignore=true' >> "$DESTDIR/usr/share/applications/lxsession-default-apps.desktop"
|
||||||
|
echo 'X-AppStream-Ignore=true' >> "$DESTDIR/usr/share/applications/lxsession-edit.desktop"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='polkit'
|
||||||
|
release='1'
|
||||||
|
version='122'
|
||||||
|
url='https://gitlab.freedesktop.org/polkit/polkit'
|
||||||
|
description='Application development toolkit for controlling system-wide privileges'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz")
|
||||||
|
depends=(duktape expat glib pam elogind)
|
||||||
|
makedepends=(git gobject-introspection gtk-doc meson)
|
||||||
|
md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26')
|
||||||
|
group=(sys.auth)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user