update: accountservice and aalib cleanup

This commit is contained in:
ngn 2024-08-14 02:51:57 +03:00
parent ac2aeab060
commit 9d660cd2e0
2 changed files with 17 additions and 13 deletions

View File

@ -1,13 +1,15 @@
NAME="aalib" NAME="aalib"
DESC="Library to render any graphic into ASCII Ar" DESC="Library to render any graphic into ASCII Ar"
VERSION="1.4rc5" VERSION="1.4rc5"
FILES=("https://downloads.sourceforge.net/aa-project/aalib-$VERSION.tar.gz")
FILES=("https://downloads.sourceforge.net/aa-project/aalib-${VERSION}.tar.gz")
HASHES=("9801095c42bba12edebd1902bcf0a990") HASHES=("9801095c42bba12edebd1902bcf0a990")
DEPENDS=("slang" "gpm" "mkfontscale" "fonts") DEPENDS=("slang" "gpm" "mkfontscale" "fonts")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.gz tar xf "${NAME}-${VERSION}.tar.gz"
cd $NAME-1.4.0 cd "${NAME}-1.4.0"
sed -i -e '/AM_PATH_AALIB,/s/AM_PATH_AALIB/[&]/' aalib.m4 sed -i -e '/AM_PATH_AALIB,/s/AM_PATH_AALIB/[&]/' aalib.m4
./configure --prefix=/usr \ ./configure --prefix=/usr \
@ -15,7 +17,8 @@ PACKAGE() {
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--with-ncurses=/usr \ --with-ncurses=/usr \
--disable-static --disable-static
make && make DESTDIR="$ROOTDIR" install make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r $NAME-1.4.0 cd .. && rm -r "${NAME}-1.4.0"
} }

View File

@ -1,15 +1,15 @@
NAME="accountsservice" NAME="accountsservice"
DESC="Provides a set of D-Bus interfaces for querying and manipulating user account information" DESC="Provides a set of D-Bus interfaces for querying and manipulating user account information"
VERSION="23.13.9" VERSION="23.13.9"
FILES=("https://www.freedesktop.org/software/accountsservice/accountsservice-$VERSION.tar.xz")
FILES=("https://www.freedesktop.org/software/accountsservice/accountsservice-${VERSION}.tar.xz")
HASHES=("03dccfe1b306b7ca19743e86d118e64d") HASHES=("03dccfe1b306b7ca19743e86d118e64d")
DEPENDS=(
"polkit" "gobject-introspection" DEPENDS=("polkit" "gobject-introspection")
)
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mv tests/dbusmock{,-tests} mv tests/dbusmock{,-tests}
sed -e '/accounts_service\.py/s/dbusmock/dbusmock-tests/' \ sed -e '/accounts_service\.py/s/dbusmock/dbusmock-tests/' \
@ -22,7 +22,8 @@ PACKAGE() {
--prefix=/usr \ --prefix=/usr \
--buildtype=release \ --buildtype=release \
-Dadmin_group=adm -Dadmin_group=adm
ninja && DESTDIR="$ROOTDIR" ninja install ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r $NAME-$VERSION cd ../.. && rm -r "${NAME}-${VERSION}"
} }