blob: 1e91cc7dfb40a2d98cece73abaa448469c1d5d60 (
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
33
34
35
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"
|