aboutsummaryrefslogtreecommitdiffstats
path: root/community/pcmanfm/APKBUILD
blob: 7112128e2362b62c18a25f51b8ed8ec6d8949b51 (plain)
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
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pcmanfm
pkgver=1.3.2
pkgrel=0
pkgdesc="Extremely fast and lightweight file manager"
arch="all !s390x"
url="https://wiki.lxde.org/en/PCManFM"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libfm-dev libfm-extra-dev intltool"
subpackages="$pkgname-doc $pkgname-lang"
source="
	https://downloads.sourceforge.net/pcmanfm/pcmanfm-$pkgver.tar.xz
	"

# secfixes:
#   1.2.5-r1:
#     - CVE-2017-8934

build() {
	./configure \
		--sysconfdir=/etc \
		--prefix=/usr \
		--with-gtk=3
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install

	sed -i 's|x-directory/normal|inode/directory|' \
		"$pkgdir"/usr/share/applications/pcmanfm.desktop
}

sha512sums="bcca1af20500e7a84ebfe5f1efd5a1a2945d32ad3ea5fa945ad908794c56614bd85921fac1e7a3b2fc5ef82267d5d3ffc5ad7065e9878a920dd578cb830776c9  pcmanfm-1.3.2.tar.xz"