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..6937b5e
--- /dev/null
+++ b/luhncheck/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
+
+pkgname=luhncheck
+pkgver=1.0.1
+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=(17fac8d16748b99c4176a9ef222b413ca052c50a64648c79b1589906ea19f52f)
+
+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