summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Benscheidt2018-06-07 10:31:53 +0200
committerFlorian Benscheidt2018-06-07 10:31:53 +0200
commit3fcc1feb6a5e5d5258b70a4c2f3781fbfe706ef7 (patch)
treed471ac523ebf8b5cb069e8a91dcf0bca304a26e4
downloadaur-3fcc1feb6a5e5d5258b70a4c2f3781fbfe706ef7.tar.gz
init pxltrm to aur
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..5c9d39045489
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pxltrm-git
+ pkgdesc = A pixel art editor inside the terminal.
+ pkgver = r76.6ecb1c7
+ pkgrel = 1
+ url = https://github.com/dylanaraps/pxltrm
+ arch = any
+ license = MIT
+ depends = bash
+ provides = pxltrm
+ source = git://github.com/dylanaraps/pxltrm.git
+ md5sums = SKIP
+
+pkgname = pxltrm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..3d46f8189207
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Florian B <gn0mish [at] protonmail [dot] com>
+
+pkgname='pxltrm-git'
+_pkgname='pxltrm'
+pkgver=r76.6ecb1c7
+pkgrel=1
+pkgdesc='A pixel art editor inside the terminal.'
+arch=('any')
+_giturl='://github.com/dylanaraps/pxltrm'
+url="https${_giturl}"
+license=('MIT')
+provides=("${_pkgname}")
+depends=("bash")
+source=("git${_giturl}.git")
+md5sums=("SKIP")
+pkgver() {
+ cd "${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd ${srcdir}/"${_pkgname}"
+ install -D -m755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
+ install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}