diff options
Diffstat (limited to 'main/sessreg/APKBUILD')
-rw-r--r-- | main/sessreg/APKBUILD | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/main/sessreg/APKBUILD b/main/sessreg/APKBUILD index 29453b079f..7fb1153b9a 100644 --- a/main/sessreg/APKBUILD +++ b/main/sessreg/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=sessreg -pkgver=1.0.5 -pkgrel=2 +pkgver=1.1.0 +pkgrel=0 pkgdesc="manage utmp/wtmp entries for non-init clients" url="http://xorg.freedesktop.org/" arch="all" @@ -9,13 +9,21 @@ license="custom" subpackages="$pkgname-doc" depends= makedepends="xproto" -source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" +source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2 +missing_path_wtmpx.patch +" _builddir="$srcdir/$pkgname-$pkgver" - prepare() { cd "$_builddir" - update_config_sub || return 1 + for i in $source; do + case $i in + patch*|*.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done } build () { @@ -33,4 +41,9 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="00e834c3cbfd990e9d7d5ddc834242df sessreg-1.0.5.tar.bz2" +md5sums="e238c89dabc566e1835e1ecb61b605b9 sessreg-1.1.0.tar.bz2 +d07d76587afb64739c876529c4f582cd missing_path_wtmpx.patch" +sha256sums="551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c sessreg-1.1.0.tar.bz2 +8d13a6ae41492cdc4afd38691f45792e8000b129f34e94cf83a30435c4686b29 missing_path_wtmpx.patch" +sha512sums="5d9010874696bbc53a6271f30c089690cb341ede992f6be0914474a03ff4468e01e6a4ce7e6a437b96751fdf0ccced52b374126e5caeac6747edecd049841116 sessreg-1.1.0.tar.bz2 +ab562bba2463d8f7ede6ed90fafdd685a33596ef47f118eefa2312f38e34d1ba18bd0c383dfe778327b126e0c80dc12045cb27d49eab09162ebacea6ab98b522 missing_path_wtmpx.patch" |