summaryrefslogblamecommitdiff
path: root/user/libfm-extra/APKBUILD
blob: 18a9ddb73e5527732bfaa2b7f8c6d0b92672c27b (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                  
                               

























                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libfm-extra
pkgver=1.3.0.2
pkgrel=0
pkgdesc="Library for generating menu caches"
url="https://wiki.lxde.org/en/PCManFM"
arch="all"
license="GPL-2.0+"
makedepends="glib-dev intltool"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz"
# because of course it's in the libfm tarball
builddir="$srcdir/libfm-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-extra-only \
		--disable-static
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="179cc0350509cb1a8a60b89f8145169857926c7cc3dadb9f61078d4dba79709b248b3d05862e78c11747f1fc4e45825ad6f4916d423ae5e346e5274d34197445  libfm-1.3.0.2.tar.xz"