summaryrefslogtreecommitdiffstats
path: root/main/pcmanfm/APKBUILD
blob: 47579468625be87940289fe52eff6dc999610ebc (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.3
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="c993402d407b0a3fc076f842ac1bc5c9  pcmanfm-1.2.3.tar.xz"
sha256sums="cfa8d82fc63be147045174bef074807e1e32ce8c6bf4dbd8fad49e260bcf6380  pcmanfm-1.2.3.tar.xz"
sha512sums="b350566c3aee0fe857ed1f0df2ae7d2ce51caf1547b951b380145078ba60f2fe6e0490c4d4c19465c5b1e0a9966205db6f8fe4dafb7cb3e987b9157551df2b28  pcmanfm-1.2.3.tar.xz"