summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorErick Pires2018-10-22 01:08:06 -0300
committerErick Pires2018-10-22 01:08:06 -0300
commitfb625f1bc3ec27dc7007aeb329dafb0f7e288ad2 (patch)
tree3fc3c2c899b4e2c62b6b13f608995f4e1348ed0a /PKGBUILD
downloadaur-fb625f1bc3ec27dc7007aeb329dafb0f7e288ad2.tar.gz
First commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6d206a4bb44
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Erick Pires pires@erickpires.com
+pkgname=pfsshell-git
+pkgver=28.dce247e
+pkgrel=1
+pkgdesc="Browse and edit PFS filesystems."
+arch=("i686" "x86_64")
+url="https://github.com/uyjulian/pfsshell"
+license=('')
+makedepends=('git' 'clang' 'gcc' 'make')
+source=('pfsshell-git::git+https://github.com/erickpires/pfsshell.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname}"
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname}"
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}"
+ install -Dm755 pfsshell "$pkgdir/usr/bin/pfsshell"
+}