summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorivanp72018-11-17 03:18:32 +0300
committerivanp72018-11-17 03:21:20 +0300
commitce71dc839bb65cdaf3ed249ac2a4f58cbf7f8327 (patch)
tree6877844a18f64f8b8aea474a2370f1dace3f5ac1
downloadaur-ce71dc839bb65cdaf3ed249ac2a4f58cbf7f8327.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e1be98af4dc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = im2a
+ pkgdesc = An image to ASCII converter, made for 256-color terminals.
+ pkgver = 0.6.0
+ pkgrel = 1
+ url = https://github.com/tzvetkoff/
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = libmagick
+ source = https://github.com/tzvetkoff//im2a/archive/v0.6.0.tar.gz
+ md5sums = a58101f3e14485ac687b0de1602c56fa
+
+pkgname = im2a
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e1127e34488
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: ivanp7 <ivanpzv8 at gmail dot com>
+pkgname=im2a
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="An image to ASCII converter, made for 256-color terminals."
+arch=('i686' 'x86_64')
+url="https://github.com/tzvetkoff/"
+license=('custom')
+depends=('libmagick')
+source=($url/$pkgname/archive/v$pkgver.tar.gz)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+ make DESTDIR=$pkgdir install
+}
+
+md5sums=('a58101f3e14485ac687b0de1602c56fa')
+