diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-05-13 12:40:15 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 20:10:24 +0000 |
commit | 746cc5460949f2b2f1821a7251f55a2a86175c2b (patch) | |
tree | 9dafe87f07238a00187f59082f30af04f165313f /main | |
parent | 2e11f0ee66839e353bd164285bd0d514fc791431 (diff) | |
download | aports-746cc5460949f2b2f1821a7251f55a2a86175c2b.tar.bz2 aports-746cc5460949f2b2f1821a7251f55a2a86175c2b.tar.xz |
main/xfburn: modernize abuild
Diffstat (limited to 'main')
-rw-r--r-- | main/xfburn/APKBUILD | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/main/xfburn/APKBUILD b/main/xfburn/APKBUILD index 23a0a27f47..038c42177e 100644 --- a/main/xfburn/APKBUILD +++ b/main/xfburn/APKBUILD @@ -9,19 +9,13 @@ license="GPL2" depends="desktop-file-utils hicolor-icon-theme" makedepends="libburn-dev libisofs-dev libxfce4ui-dev thunar-dev librsvg-dev gst-plugins-base0.10-dev exo-dev" -install= subpackages="$pkgname-doc $pkgname-lang" -source="http://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/xfburn-$pkgver.tar.bz2 - " +source="http://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/xfburn-$pkgver.tar.bz2" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { + default_prepare cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done # fix build issue sed -i '1 i\ #include <glib-object.h>' \ @@ -29,23 +23,20 @@ prepare() { } build () { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-gstreamer \ --enable-thunar-vfs \ - --enable-dbus \ - || return 1 - make || return 1 + --enable-dbus + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="448fcbb7023645216c5a52435a9cf72a xfburn-0.5.4.tar.bz2" -sha256sums="9a0053ff106ae475871a2bed328d5d7c5a2fc4280a24e956ca85b6a13a9fc1f6 xfburn-0.5.4.tar.bz2" sha512sums="66bd82aa80fcd53d5d505b01a33cdbffdcf547a05a11bdbe688387420ee682a28564397acaf85a52852625909648c01cc18f289736ac54d2806725f46c875481 xfburn-0.5.4.tar.bz2" |