summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 5 insertions, 24 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 25b70dc3049..ac8c41be160 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=pacaur
-pkgver=4.7.10
+pkgver=4.7.90
pkgrel=1
pkgdesc="An AUR helper that minimizes user interaction"
arch=('any')
@@ -8,35 +8,16 @@ license=('ISC')
depends=('cower' 'expac' 'sudo' 'git')
makedepends=('perl')
backup=('etc/xdg/pacaur/config')
-source=("https://github.com/rmarquis/$pkgname/archive/$pkgver.tar.gz")
-md5sums=('ddb8adbb50889d07de41ca97d34a09d2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rmarquis/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('237a716ddfe3eab43a0f7958be646d09')
build() {
cd "$pkgname-$pkgver"
- pod2man --utf8 --section=8 --center="Pacaur Manual" --name="PACAUR"\
- --release="$pkgname $pkgver" ./README.pod > ./pacaur.8
+ make
}
package() {
cd "$pkgname-$pkgver"
-
- mkdir -p "$pkgdir/etc/xdg/pacaur"
- install -D -m644 ./config "$pkgdir/etc/xdg/pacaur/config"
- mkdir -p "$pkgdir/usr/bin"
- install -D -m755 ./pacaur "$pkgdir/usr/bin/$pkgname"
- mkdir -p "$pkgdir/usr/share/bash-completion/completions"
- install -D -m644 ./bash.completion\
- "$pkgdir/usr/share/bash-completion/completions/$pkgname"
- mkdir -p "$pkgdir/usr/share/zsh/site-functions"
- install -D -m644 ./zsh.completion\
- "$pkgdir/usr/share/zsh/site-functions/_pacaur"
- mkdir -p "$pkgdir/usr/share/man/man8"
- install -D -m644 ./pacaur.8 "$pkgdir/usr/share/man/man8/pacaur.8"
- mkdir -p "$pkgdir/usr/share/licenses/pacaur"
- install -D -m644 ./LICENSE "$pkgdir/usr/share/licenses/pacaur/LICENSE"
- for i in {ca,da,de,es,fi,fr,hu,it,ja,nb,nl,pl,pt,ru,sk,sl,sr,sr@latin,tr,zh_CN}; do
- mkdir -p "$pkgdir/usr/share/locale/$i/LC_MESSAGES/"
- msgfmt ./po/$i.po -o "$pkgdir/usr/share/locale/$i/LC_MESSAGES/pacaur.mo"
- done
+ make install DESTDIR=$pkgdir PREFIX=/usr
}