updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / stirfs / PKGBUILD
blob283947858ed1322a53a42884f78d4c0ee4507856
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
3 pkgname=stirfs
4 pkgver=1.1
5 pkgrel=1
6 pkgdesc='The secure, transparent and irresistible filesystem'
7 arch=('i686' 'x86_64')
8 url="http://www.normalesup.org/~bisson/msc/stirfs-${pkgver}.c"
9 license=('BSD')
10 depends=('fuse' 'openssl')
11 source=("${url}")
12 sha1sums=('3961d8408a86219b7abadc27ae8e13f8c4d11d42')
14 build() {
15         cd "${srcdir}"
16         cc ${CFLAGS} -D_FILE_OFFSET_BITS=64 -lfuse -lcrypto -o stirfs "stirfs-${pkgver}.c" ${LDFLAGS}
19 package() {
20         cd "${srcdir}"
21         install -d "${pkgdir}"/usr/{bin,share/licenses/stirfs}
22         install -m 755 "${srcdir}"/stirfs "${pkgdir}"/usr/bin/
23         head -n 22 "stirfs-${pkgver}.c" > "${pkgdir}"/usr/share/licenses/stirfs/COPYING