summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChocobo12021-05-18 10:51:12 +0800
committerChocobo12021-05-18 10:53:20 +0800
commit620c5f33dfb2dc3903ca41af93c0849364a79d8f (patch)
tree8e8199bef96e986df272700980276a5d1ff32dbc /PKGBUILD
parentb0da738b798a45311fbec3ecde518e06ed7079e0 (diff)
downloadaur-colormake.tar.gz
upgpkg: colormake 0.9.20140503-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d3c41f7885c..e6116c98386 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@
pkgname=colormake
pkgver=0.9.20140503
-pkgrel=1
+pkgrel=2
pkgdesc="Colorize the output of make"
arch=('any')
url="https://bre.klaki.net/programs/colormake/"
license=('GPL2')
depends=('perl' 'bash')
-source=("https://github.com/pagekite/Colormake/archive/$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pagekite/Colormake/archive/$pkgver.tar.gz")
sha256sums=('a3f9fae9a455ac96be1cce0371b28bda33a9af73b06fa8e4329aa2f693d68d22')
@@ -26,20 +26,14 @@ package() {
cd "Colormake-$pkgver"
# executables
- install -dm755 "$pkgdir/usr/bin"
- cp -r {clmake,clmake-short,colormake,colormake-short} "$pkgdir/usr/bin"
+ install -Dm755 "colormake" -t "$pkgdir/usr/bin"
+ cp -r {clmake,clmake-short,colormake-short} "$pkgdir/usr/bin"
- install -Dm755 "colormake.pl" "$pkgdir/usr/share/colormake/colormake.pl"
+ install -Dm755 "colormake.pl" -t "$pkgdir/usr/share/colormake"
# man page
- install -Dm644 "colormake.1" "$pkgdir/usr/share/man/man1/colormake.1"
+ install -Dm644 "colormake.1" -t "$pkgdir/usr/share/man/man1"
# documentation
- install -dm755 "$pkgdir/usr/share/doc/colormake"
- install -m644 \
- AUTHORS \
- BUGS \
- ChangeLog \
- README \
- "$pkgdir/usr/share/doc/colormake"
+ install -Dm644 {AUTHORS,BUGS,ChangeLog,README} -t "$pkgdir/usr/share/doc/colormake"
}