diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-07-24 21:28:45 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-26 12:51:58 +0000 |
commit | 82b7374e7272c0fa7679c5e37d74ec9da2652bff (patch) | |
tree | 547805d89a08b5c5798184dcf8dd14a91c89e349 | |
parent | 89af99d786dbc12be48086418040c7a83d96d623 (diff) | |
download | aports-82b7374e7272c0fa7679c5e37d74ec9da2652bff.tar.bz2 aports-82b7374e7272c0fa7679c5e37d74ec9da2652bff.tar.xz |
testing/xfce-polkit: move from unmaintained and modernize
-rw-r--r-- | testing/xfce-polkit/APKBUILD (renamed from unmaintained/xfce-polkit/APKBUILD) | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/unmaintained/xfce-polkit/APKBUILD b/testing/xfce-polkit/APKBUILD index 6354808a81..7b399394f5 100644 --- a/unmaintained/xfce-polkit/APKBUILD +++ b/testing/xfce-polkit/APKBUILD @@ -8,40 +8,28 @@ arch="all" license="GPL2" depends="" depends_dev="" -makedepends="$depends_dev libxfce4ui-dev polkit-dev glib-dev gtk+2.0-dev" -install="" -subpackages="" +makedepends="$depends_dev libxfce4ui-dev polkit-dev glib-dev gtk+2.0-dev autoconf automake" source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/xfce-polkit-$pkgver.tar.gz" -_builddir="$srcdir"/xfce-polkit-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" + aclocal + autoconf + automake --add-missing ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --libexecdir=/usr/lib/xfce4 \ - || return 1 - make || return 1 + --libexecdir=/usr/lib/xfce4 + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="3b9b6ee32d339cd37f1f60dddcebdb6e xfce-polkit-0.2.tar.gz" -sha256sums="8947a2582dacad78cfab89b3ee390e1a7810b2457343e6db558d6ee9a872be3a xfce-polkit-0.2.tar.gz" sha512sums="da0d01c8b9805efdd212d8d02cafb95a1663184b17c06b0d27553e2189e44b9d1982aa4f51d6cd74d5e0874475346609a1d7c87eba82c55d9967729f59c7c8ac xfce-polkit-0.2.tar.gz" |