summaryrefslogtreecommitdiff
path: root/user/libfm
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 04:06:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 04:06:32 -0500
commitbc4e6c5f3481cebe16f59f46ff9caf25e224803a (patch)
tree9d914e6dbb9494d878cdc8e0fec3c4b01899313e /user/libfm
parent042338836797e3c614acbfd1b55e67a366ec0f84 (diff)
downloadpackages-bc4e6c5f3481cebe16f59f46ff9caf25e224803a.tar.gz
packages-bc4e6c5f3481cebe16f59f46ff9caf25e224803a.tar.bz2
packages-bc4e6c5f3481cebe16f59f46ff9caf25e224803a.tar.xz
packages-bc4e6c5f3481cebe16f59f46ff9caf25e224803a.zip
user/libfm: pull in, bump to 1.3.0.2, fix up
Diffstat (limited to 'user/libfm')
-rw-r--r--user/libfm/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libfm/APKBUILD b/user/libfm/APKBUILD
new file mode 100644
index 000000000..a954db7e9
--- /dev/null
+++ b/user/libfm/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
+# Maintainer:
+pkgname=libfm
+pkgver=1.3.0.2
+pkgrel=0
+pkgdesc="Library for file management"
+url="https://wiki.lxde.org/en/PCManFM"
+arch="all"
+license="GPL-2.0+"
+makedepends="dbus-glib-dev glib-dev gtk+2.0-dev intltool libexif-dev
+ menu-cache-dev udisks2-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+replaces="libfm-extra"
+source="https://downloads.sourceforge.net/pcmanfm/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-udisks \
+ --with-gnu-ld
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+dev() {
+ default_dev
+ replaces="libfm-extra-dev"
+}
+
+sha512sums="179cc0350509cb1a8a60b89f8145169857926c7cc3dadb9f61078d4dba79709b248b3d05862e78c11747f1fc4e45825ad6f4916d423ae5e346e5274d34197445 libfm-1.3.0.2.tar.xz"