diff options
Diffstat (limited to 'community/caja-extensions/APKBUILD')
-rw-r--r-- | community/caja-extensions/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/caja-extensions/APKBUILD b/community/caja-extensions/APKBUILD new file mode 100644 index 0000000000..ad58447495 --- /dev/null +++ b/community/caja-extensions/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=caja-extensions +pkgver=1.10.1 +pkgrel=1 +pkgdesc="Set of extensions for Caja file manager" +url="https://github.com/mate-desktop/caja-extensions" +arch="all" +license="GPL2" +depends="caja" +depends_dev="" +makedepends="$depends_dev glib-dev gtk+2.0-dev caja-dev dconf-dev + mate-desktop-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 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-sendto \ + --enable-wallpaper \ + --enable-open-terminal \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="b7f44e2353b29efa89ea475916e336bf caja-extensions-1.10.1.tar.xz" +sha256sums="fc18b16141a37624f35f2b8b7ecf6b73a55689d81ee9e9a516c5765990ec207d caja-extensions-1.10.1.tar.xz" +sha512sums="6720c279877207c123163e1d04e9d5b63319fe8b480ef9aaf6470c0f8e850b22dfea7999084ed8d320c152c053906461d1a526a70f64718cb1938d3baa39db0b caja-extensions-1.10.1.tar.xz" |