diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-05-14 11:53:32 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-09 10:21:55 +0000 |
commit | 756a6afe7c5faffd1703d02c5baf8e41d1fa49a9 (patch) | |
tree | b73e9e4bcdc9fc88f51da9c699ebfe45d5afb2f2 | |
parent | 652f769f1a9dd49151c9dff13e9398eab2616c79 (diff) | |
download | aports-756a6afe7c5faffd1703d02c5baf8e41d1fa49a9.tar.bz2 aports-756a6afe7c5faffd1703d02c5baf8e41d1fa49a9.tar.xz |
main/xfce4-panel: modernize abuild
-rw-r--r-- | main/xfce4-panel/APKBUILD | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/main/xfce4-panel/APKBUILD b/main/xfce4-panel/APKBUILD index 2da087f955..4618185f53 100644 --- a/main/xfce4-panel/APKBUILD +++ b/main/xfce4-panel/APKBUILD @@ -10,22 +10,12 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends="hicolor-icon-theme" depends_dev="libxfce4util-dev gtk+2.0-dev gtk+3.0-dev" makedepends="$depends_dev libxfce4ui-dev exo-dev garcon-dev libwnck-dev" -install= -source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 - " +source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir"/$pkgname-$pkgver -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} build() { - cd "$srcdir"/$pkgname-$pkgver + cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,16 +24,13 @@ build() { --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ - --enable-gtk3 \ - || return 1 + --enable-gtk3 make } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd $builddir + make DESTDIR="$pkgdir" install } -md5sums="0b943f2e72a3693dddb1af559826cb62 xfce4-panel-4.12.1.tar.bz2" -sha256sums="93d58b80cca9c9eb58adb281bc75404df7cf6cae89f7f98bb9f38690009aa2e8 xfce4-panel-4.12.1.tar.bz2" sha512sums="8bdc2a560a698e7d41429b40cde51ea1bec5aba211b6ee89b46822a38176e27e332efa785d93901d598b17171c739406e7f983372aaa49177db0f868aea985a4 xfce4-panel-4.12.1.tar.bz2" |