blob: c136ef31edb33d7ab4e7795b27c31967bc761df0 (
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.3
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="3ff38200701658f7e80e25ed395d92dd libfm-1.2.3.tar.xz"
sha256sums="c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9 libfm-1.2.3.tar.xz"
sha512sums="f4c214daffc47f05ba31c65203ab0542a03f5a246ea4bb62b6b365ac3fa120a1a51e37b00f8a43afe56875eb69f9be327ac724dafb6fc2de13aa77deea23f443 libfm-1.2.3.tar.xz"
|