aboutsummaryrefslogtreecommitdiffstats
path: root/main/thunar/APKBUILD
blob: 7080a437a8233fa115a5b390e5033cef69acc608 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar
pkgver=1.1.6
pkgrel=0
pkgdesc="File manager for Xfce"
url="http://thunar.xfce.org"
arch="x86 x86_64"
license="GPL2 LGPL2"
subpackages="$pkgname-dev $pkgname-doc"
depends="desktop-file-utils hicolor-icon-theme"
makedepends="libexif-dev xfce4-panel-dev exo-dev pcre-dev udev-dev
	libnotify-dev startup-notification-dev libxfce4ui-dev"
install=
source="http://archive.xfce.org/src/xfce/thunar/${pkgver%.*}/Thunar-$pkgver.tar.bz2"

depends_dev="gtk+-dev glib-dev"
_builddir="$srcdir"/Thunar-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-exif \
		--enable-pcre
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	sed -i 's:x-directory/gnome-default-handler;::' "$pkgdir"/usr/share/applications/Thunar-folder-handler.desktop
}

md5sums="a96fdbc0b3d422f864d50374b5d6be41  Thunar-1.1.6.tar.bz2"