diff options
author | kleintux | 2021-08-03 11:25:48 +0200 |
---|---|---|
committer | kleintux | 2021-08-03 11:25:48 +0200 |
commit | 3552bfe9f29b25d542542e65a305d46a23cab9c4 (patch) | |
tree | 1a695ffe9027d3138ced25959e81e81be773db15 /PKGBUILD | |
parent | b2112ad600e42e4a92ac213d62f9e7b3b27c4a35 (diff) | |
download | aur-sparklines-git.tar.gz |
package adopted. fixed permission and namings
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,29 +1,29 @@ -# Maintainer: Jerome Leclanche <jerome@leclan.ch> +# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> +# Contributor: Jerome Leclanche <jerome@leclan.ch> # NOTE: This package is officially named "spark", however that name # conflicts with the Spark IM client. It is here renamed sparklines. _pkgname=spark pkgname=sparklines-git -pkgver=v1.0.1.6.g9832447 +pkgver=v1.0.1.33.gab88ac6 pkgrel=1 pkgdesc="Spark: Sparklines for your shell" arch=("any") -url="http://zachholman.com/spark/" +url="https://zachholman.com/spark/" license=("MIT") makedepends=("git") provides=("sparklines") conflicts=("sparklines") -source=("git://github.com/holman/$_pkgname.git") +source=("git+https://github.com/holman/${_pkgname}.git") sha256sums=("SKIP") - pkgver() { - cd "$srcdir/$_pkgname" + cd "${srcdir}/${_pkgname}" git describe --always | sed "s/-/./g" } package() { - cd "$srcdir/$_pkgname" - install -D spark "$pkgdir/usr/bin/sparklines" - install -D "README.md" "$pkgdir/usr/share/doc/spark/README.md" + cd "${srcdir}/${_pkgname}" + install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${pkgname%-git}" + install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname%-git}/README.md" } |