diff options
author | Martin T. H. Sandsmark | 2019-08-15 12:58:23 +0200 |
---|---|---|
committer | Martin T. H. Sandsmark | 2019-08-15 13:00:23 +0200 |
commit | 4d7e199c03639c5561a0eb9d85e9007839ffbd33 (patch) | |
tree | 92b278a4a9218f676c4fea54919b438a5e2b8eb1 | |
download | aur-4d7e199c03639c5561a0eb9d85e9007839ffbd33.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3bd818ec32fc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = asciiquarium-git + pkgver = r12.8bdb7d4 + pkgrel = 1 + url = https://github.com/cmatsuoka/asciiquarium + arch = any + license = GPL + makedepends = git + depends = perl-term-animation + provides = asciiquarium + conflicts = asciiquarium + source = git+https://github.com/cmatsuoka/asciiquarium.git + md5sums = SKIP + +pkgname = asciiquarium-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ed15cad30969 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org> + +pkgname=asciiquarium-git +pkgver=r12.8bdb7d4 +pkgrel=1 +pkgdesc="An aquarium/sea animation in ASCII art" +arch=("any") +url="https://github.com/cmatsuoka/asciiquarium" +license=("GPL") +depends=("perl-term-animation") +makedepends=("git") +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("git+https://github.com/cmatsuoka/asciiquarium.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname%-git}" + install -Dm644 "gpl.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm755 "asciiquarium" "${pkgdir}/usr/bin/asciiquarium" +} |