summaryrefslogblamecommitdiff
path: root/user/caja/APKBUILD
blob: 2335ac681563706216b7a49d276ebc8627aadb04 (plain) (tree)
1
2
3
4

                                                         
            
             
































                                                                               



                                                                                                                               

 
                                                                                                                                                                 
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=caja
pkgver=1.22.2
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="2c537344c87d929918202b357363b7cfa0b302c410028ea218a78750a376b3da82557750ab76329aeab9c5c32b1ce30af8d3cdb98beb3582d0c3af38b73d311c  caja-1.22.2.tar.xz"