aboutsummaryrefslogblamecommitdiffstats
path: root/community/caja-extensions/APKBUILD
blob: cc770c4a0d07f22ddfdeb0ff402f0e156e256de1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                      
                                                     
                       

             





                                                     
                                                                 


                                                     
                                                                                  

















                                                                        
                                   









                                                    

 


                                                                                                                                                                            
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=caja-extensions
pkgver=1.12.0
pkgrel=0
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="35813af2413d1e5cf8c81c3958777b36  caja-extensions-1.12.0.tar.xz"
sha256sums="efb76a8bcb9dd0d1fb47682e4cb018645e243d73ba9a6ebc3d06332e02c7fb36  caja-extensions-1.12.0.tar.xz"
sha512sums="b36f759f21a206d76dada61f9410135c393fea77eaaf387a81788c6c2757aed5536b8129add2b4469b8d18f17de115369d70ec9278e8a4b9b9a3cfbb24ac38fb  caja-extensions-1.12.0.tar.xz"