diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..27c47981081f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: goodmind <andwebar@gmail.com> +pkgname=infornography-git +pkgver=0.2.r7.g9e9c603 +pkgrel=1 +pkgdesc="Racket script to show system information, lightweight alternative to screenfetch." +arch=('any') +url="https://github.com/telegram-wired/infornography" +license=('MIT') +depends=('racket') +makedepends=('git') +source=("$pkgname::git+https://github.com/telegram-wired/infornography.git") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g' +} + +package() { + cd $pkgname + install -D -m755 "infornography.rkt" "$pkgdir"/usr/bin/infornography + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE +} |