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

pkgname=pcmanfm
pkgver=1.2.5
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="b4d1f8ce08d87e4f27805a246fc51ac2  pcmanfm-1.2.5.tar.xz"
sha256sums="0c86cac028b705ff314c7464d814c2cf7ff604c17491c20aa204b1ef1a80ad67  pcmanfm-1.2.5.tar.xz"
sha512sums="ce53315483f58361c5a7797bdca355dbbedc2cf3907d319c7c65be844ea74ed297497dc3183c903e06b8294f6301d19347f6b9871e34bf773c04ff4fb8ab32f3  pcmanfm-1.2.5.tar.xz"