aboutsummaryrefslogtreecommitdiffstats
path: root/community/pcmanfm/APKBUILD
blob: 652e16a82d0ed61e15f2b226c331d37f79522d4c (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
40
41
42
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>

pkgname=pcmanfm
pkgver=1.3.0
pkgrel=0
pkgdesc="Extremely fast and lightweight file manager"
arch="all"
url="https://wiki.lxde.org/en/PCManFM"
license="GPL-2.0-or-later"
makedepends="gtk+2.0-dev libfm-dev intltool"
subpackages="$pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz
	"

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

build() {
	cd "$builddir"

	./configure \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

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

sha512sums="022e6e203a6cbba6531eb3dd21e0dd96687c42992015225f979a8df4539ddb0071f70d8619a7d804c0399424833af20181b8473a35a14b0fa1653e6fdbdfa367  pcmanfm-1.3.0.tar.xz"