aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-25 02:37:08 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-25 02:37:08 +0200
commitf7b85bb8dd71c4e63935dadf5465781240a7b258 (patch)
treecd4cbd963c69e07dbfdcbb7ce738cd64ca2006b8
parent0df7cb5b262c6a28de42a338949aa534b7dbae68 (diff)
downloadAsciiMap-f7b85bb8dd71c4e63935dadf5465781240a7b258.tar.gz
Added PKGBUILD
-rw-r--r--packaging/pkgbuild/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/packaging/pkgbuild/PKGBUILD b/packaging/pkgbuild/PKGBUILD
new file mode 100644
index 0000000..14b1a9d
--- /dev/null
+++ b/packaging/pkgbuild/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Joe User <joe.user@example.com>
+
+pkgname=asciimap
+pkgver=$(date +%y%m%d)
+pkgrel=1
+pkgdesc="Create ASCII art from Bitmap Images"
+arch=('i686' 'x86_64')
+url="https://github.com/kompetenzbolzen/AsciiMap"
+license=('MIT')
+groups=()
+depends=('glibc')
+makedepends=('clang')
+optdepends=()
+source=("git+https://github.com/kompetenzbolzen/AsciiMap")
+md5sums=('SKIP')
+
+build() {
+ cd $srcdir/AsciiMap
+ make
+}
+
+package() {
+ cd $srcdir/AsciiMap
+ mkdir -p $pkgdir/usr/bin
+ make PREFIX="$pkgdir/usr/" install
+}