diff options
Diffstat (limited to 'user/caja/APKBUILD')
-rw-r--r-- | user/caja/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/user/caja/APKBUILD b/user/caja/APKBUILD new file mode 100644 index 000000000..d39dce4e8 --- /dev/null +++ b/user/caja/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=caja +pkgver=1.22.1 +pkgrel=0 +pkgdesc="File manager for the MATE desktop environment" +url="https://mate-desktop.org" +arch="all" +options="!check" # testsuite requires X +license="GPL-2.0+ AND LGPL-2.0+" +depends="" +makedepends="gobject-introspection-dev intltool libexif-dev libnotify-dev + libxml2-dev mate-desktop-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://pub.mate-desktop.org/releases/${pkgver%.*}/caja-$pkgver.tar.xz" +builddir="$srcdir/caja-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + + for i in icons globs globs2 XMLnamespaces magic aliases subclasses types treemagic mime.cache version generic-icons; do + rm "$pkgdir"/usr/share/mime/$i + done +} + +sha512sums="dea2e9cac7802df5335a716a1a7df149b637014525202600f4bf3eab293eff29bf2df66df22203aa036898149cb26ba1d05491234dc75203480925cce0333a17 caja-1.22.1.tar.xz" |