aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcmanfm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/pcmanfm/APKBUILD')
-rw-r--r--main/pcmanfm/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/pcmanfm/APKBUILD b/main/pcmanfm/APKBUILD
new file mode 100644
index 0000000000..efb32f0d12
--- /dev/null
+++ b/main/pcmanfm/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
+
+pkgname=pcmanfm
+pkgver=1.1.2
+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.gz"
+
+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="41104699e653ff2b0a9a9e80a257d6a2 pcmanfm-1.1.2.tar.gz"
+sha256sums="23ee33b34066ac83ce9a98bc9930049e69839438fb60489bd453bec8c2068950 pcmanfm-1.1.2.tar.gz"
+sha512sums="0640919477bef8a88b76eb96aaf7f261c423189b60b27f720514040b4006ab5d9d30db5f25380320efc322ca2631298c72ee52a92bebf11ebf162eaa577058e1 pcmanfm-1.1.2.tar.gz"