summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKyle Keen2016-05-06 17:05:53 -0400
committerKyle Keen2016-05-06 17:05:53 -0400
commit6ad45d7ec623939d1cf094bb1f23230e7ef4190d (patch)
treea29961629b8e8f9b8b11d10ca2fc83a834e22f95 /PKGBUILD
downloadaur-6ad45d7ec623939d1cf094bb1f23230e7ef4190d.tar.gz
No. It's THE code breaker. No more secrets...
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..be0941be3bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+
+pkgname=no-more-secrets-git
+pkgver=0.1.0.r16.g3bd7512
+pkgrel=1
+pkgdesc="A tool set to recreate the famous 'decrypting text' effect as seen in the 1992 movie Sneakers, aka nms."
+url="https://github.com/bartobri/no-more-secrets"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('ncurses')
+makedepends=('git')
+source=('git+https://github.com/bartobri/no-more-secrets.git')
+md5sums=('SKIP')
+
+_gitname="no-more-secrets"
+
+pkgver() {
+ cd $_gitname
+ #git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+ git describe --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd $_gitname
+ make
+}
+
+package() {
+ cd $_gitname/bin
+ install -Dm755 sneakers "$pkgdir/usr/bin/sneakers"
+ install -Dm755 nms "$pkgdir/usr/bin/nms"
+}
+