aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcmanfm/APKBUILD
blob: 74b2bc1f9cf20c1e232b74d63274424d677b8df2 (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.0
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"
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="11d59a492c9802866279a6e7e2b3f49e  pcmanfm-1.2.0.tar.xz"
sha256sums="52d0eec6ee3dc3dce801c24db506c6a6556d030c8c9d9f90cdf9c9db8e9cbab2  pcmanfm-1.2.0.tar.xz"
sha512sums="933fd6b2566c03ee32f13a9552fd9458d7ccc2afbb355e4fbad2634b501538e7428480a37fe915fa357a4bc1b7224b7ee97b35d472cc8f4487975ff4c47602ea  pcmanfm-1.2.0.tar.xz"