diff options
author | Alan Lacerda <alacerda@alpinelinux.org> | 2014-12-15 14:39:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-19 18:33:13 +0000 |
commit | a7fed0ebada71a7e2f4f17a6b04607c34c772872 (patch) | |
tree | 943bacc7fbccd795e666c5614c8e45c4382adc86 /testing | |
parent | 3e2f3e2ee59695e1a20b9af9c6c9736148e88905 (diff) | |
download | aports-a7fed0ebada71a7e2f4f17a6b04607c34c772872.tar.bz2 aports-a7fed0ebada71a7e2f4f17a6b04607c34c772872.tar.xz |
testing/caja: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/caja/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/caja/APKBUILD b/testing/caja/APKBUILD new file mode 100644 index 0000000000..cc4cd12c79 --- /dev/null +++ b/testing/caja/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: +pkgname=caja +pkgver=1.9.3 +pkgrel=0 +pkgdesc="The file manager for the MATE desktop" +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+-dev libunique-dev + libsm-dev mate-desktop-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://pub.mate-desktop.org/releases/1.9/$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 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 + find "$pkgdir" -name \*.la -delete +} + +md5sums="870a0deb25f8a15d143634c235b5a3a8 caja-1.9.3.tar.xz" +sha256sums="2638f783071ade4c1b45ad0a360181cbff78239c11951163b07881dce27a2fcd caja-1.9.3.tar.xz" +sha512sums="bb4371d36fb026e4bf545f223f731079d6fa6d29dd735ac2c4f8476ec4dae1cbf134d90a5798012f4c052152d25b7cfec18a4009c11c1e9838e0c118bff865bc caja-1.9.3.tar.xz" |