diff options
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" |