updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cromfs / PKGBUILD
blobabbf520f5e0bfaa996ead320bd6538fec5bf058e
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
3 pkgname=cromfs
4 pkgver=1.5.10
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc='Compressed read-only filesystem based on FUSE'
8 url='http://bisqwit.iki.fi/source/cromfs.html'
9 license=('GPL')
10 depends=('gcc-libs' 'fuse' 'lzo2')
11 source=("http://bisqwit.iki.fi/src/arch/${pkgname}-${pkgver}.tar.gz"
12         'make-generic.patch'
13         'make-static.patch')
14 sha1sums=('983975d0e7cf65fda20ce16560b9a0b4c6be8123'
15           '6f496b78c71678f13826300ca88129412151692d'
16           'a6c7605e23379decbc537f7e9d5c6e2404f7ffd8')
18 build() {
19         cd "${srcdir}/${pkgname}-${pkgver}"
21         patch -p1 -i ../make-generic.patch
22         patch -p1 -i ../make-static.patch
24         ./configure
25         make
28 package() {
29         cd "${srcdir}/${pkgname}-${pkgver}"
31         make DESTDIR="${pkgdir}" install
32         install -d "${pkgdir}"/usr/{bin,share/doc/cromfs}
33         install -m755 install/progs/* "${pkgdir}"/usr/bin/
34         install -m644 install/docs/* "${pkgdir}"/usr/share/doc/cromfs/