diff options
author | aksr | 2017-04-28 14:40:06 +0200 |
---|---|---|
committer | aksr | 2017-04-28 14:40:06 +0200 |
commit | 5885c9eeaf289e392163f4d2655fc1ecd490e72c (patch) | |
tree | 1220658d945896cbe5061dc4a09c7b03d430d2ef /PKGBUILD | |
download | aur-pifs-git.tar.gz |
Start.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a32329fd3270 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: aksr <aksr at t-com dot me> +pkgname=pifs-git +pkgver=r21.3d9cc9d +pkgrel=1 +epoch= +pkgdesc="πfs - the data-free filesystem!" +arch=('i686' 'x86_64') +url="https://github.com/philipl/pifs" +license=('GPLv3') +categories=() +groups=() +depends=('fuse2') +makedepends=('git') +optdepends=() +checkdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +changelog= +install=${pkgname}.install +source=("$pkgname::git+https://github.com/philipl/pifs.git") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$pkgname" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" install + install -Dm644 README.md $pkgdir/usr/share/doc/${pkgname%-*}/README.md + install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE +} + |