diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-07-08 12:35:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-10 08:58:13 +0000 |
commit | 8b59a2289f9caac83cc0c74399dca0eaa27d8005 (patch) | |
tree | 300b623001c6697b96f80569bb7a8b6c1e19423a /community/caja | |
parent | 1446d77af2b3c8df976446b0ff1bf6431f2664ac (diff) | |
download | aports-8b59a2289f9caac83cc0c74399dca0eaa27d8005.tar.bz2 aports-8b59a2289f9caac83cc0c74399dca0eaa27d8005.tar.xz |
community/caja: modernize APKBUILD
Diffstat (limited to 'community/caja')
-rw-r--r-- | community/caja/APKBUILD | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/community/caja/APKBUILD b/community/caja/APKBUILD index 8b8b835f32..1ab72820b4 100644 --- a/community/caja/APKBUILD +++ b/community/caja/APKBUILD @@ -8,39 +8,27 @@ url="https://github.com/mate-desktop/caja" arch="all" license="GPL2" depends="mate-common mate-desktop" -depends_dev="" makedepends="$depends_dev intltool libtool dconf-dev gtk+3.0-dev libunique3-dev libsm-dev libnotify-dev mate-desktop-dev libxml2-dev" -install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir/$pkgname-$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" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --disable-update-mimedb \ - || return 1 - make || return 1 + make } package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install || return 1 + cd "$builddir" + make DESTDIR="${pkgdir}" install } sha512sums="845f7532fbf701fecc5b0e29036ee4b4d6c65f520d6d7fdbddd05d7e7bcd0f7bbd52c54cb45dbb0bd7a5bbf2ece11e584e5074e4c86954b2730baa469168a566 caja-1.18.3.tar.xz" |