diff options
Diffstat (limited to 'community/libfm')
-rw-r--r-- | community/libfm/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/libfm/APKBUILD b/community/libfm/APKBUILD new file mode 100644 index 0000000000..1e91cc7dfb --- /dev/null +++ b/community/libfm/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Łukasz Jendrysik <scadu@yandex.com> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> + +pkgname=libfm +pkgver=1.2.4 +pkgrel=0 +pkgdesc='Library for file management' +url='http://pcmanfm.sourceforge.net/' +arch='all' +license='GPL' +makedepends='gtk+2.0-dev menu-cache-dev udisks-dev intltool dbus-glib-dev + libexif-dev' +options='libtool' +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/pcmanfm/$pkgname-$pkgver.tar.xz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-udisks \ + --with-gnu-ld || return 1 + make LDFLAGS+=' -lgobject-2.0 -lglib-2.0' || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install || return 1 + + rm -rf "$pkgdir"/usr/include/libfm + mv "$pkgdir"/usr/include/libfm-1.0/ "$pkgdir"/usr/include/libfm +} + +md5sums="74997d75e7e87dc73398746fd373bf52 libfm-1.2.4.tar.xz" +sha256sums="7804f6f28cb3d1bc8ffb3151ab7ff0c063b27c5f9b06c682eb903e01cf25502f libfm-1.2.4.tar.xz" +sha512sums="c609e822959f9fa83eaee6552906b6fd22d210f0802944816230b1932fc06632dc557b8998d2d065100212f79dffe13257587c744aba78592983681c8410dc24 libfm-1.2.4.tar.xz" |