aboutsummaryrefslogtreecommitdiffstats
path: root/community/pcmanfm/APKBUILD
blob: 93c31f3ffd247c0f58b229fc3b96e7fa246a6100 (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
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=pcmanfm
pkgver=1.2.4
pkgrel=0
pkgdesc='Extremely fast and lightweight file manager'
arch='all'
url='http://pcmanfm.sourceforge.net/'
license='GPL'
makedepends='gtk+2.0-dev libfm-dev intltool'
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --sysconfdir=/etc --prefix=/usr || return 1
  make LDFLAGS+=' -lm' || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install || return 1

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

md5sums="19764c2f59653724c8713e0064fa6829  pcmanfm-1.2.4.tar.xz"
sha256sums="38cdbb5f01d24483b41b8e6846e4aa66a5751bb3982a8618899e88a853dbe313  pcmanfm-1.2.4.tar.xz"
sha512sums="f4d0ed9d5dcc1b01643715fd54b94ff46967801f0c6d1dde6d196fadbedb5551cfda536d548237b187e5545cceea0a987f7c1c8e38659cae109b6483f14798f7  pcmanfm-1.2.4.tar.xz"