aboutsummaryrefslogtreecommitdiffstats
path: root/luhncheck
diff options
context:
space:
mode:
Diffstat (limited to 'luhncheck')
-rw-r--r--luhncheck/PKGBUILD23
l---------luhncheck/upload1
2 files changed, 24 insertions, 0 deletions
diff --git a/luhncheck/PKGBUILD b/luhncheck/PKGBUILD
new file mode 100644
index 0000000..4e8ff9d
--- /dev/null
+++ b/luhncheck/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
+
+pkgname=luhncheck
+pkgver=1.0
+pkgrel=1
+pkgdesc="Check number with Luhn's algorithm"
+url='https://codeberg.org/maandree/luhncheck'
+arch=(i686 x86_64)
+license=('custom:ISC')
+depends=()
+makedepends=(libsimple)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(314c91ff2b2ecb64a38ee50bf1089f52c323565778ff878d1b3e0aa0ede1db67)
+
+build () {
+ cd "$srcdir/luhncheck"
+ make PREFIX=/usr
+}
+
+package () {
+ cd "$srcdir/luhncheck"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
diff --git a/luhncheck/upload b/luhncheck/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/luhncheck/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file