diff options
author | Erich Eckner <git@eckner.net> | 2017-09-21 12:29:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-21 12:29:15 +0200 |
commit | 6a277f35c4575fdfb4c69223c2766fbf5d1aa41a (patch) | |
tree | 69b94fcabd35c0d0bf45a3564afe1ff04365d0f2 | |
parent | fe9d2d0468fc8ca164c741d2776a3087d2b75832 (diff) | |
download | archlinuxewe.git.save-6a277f35c4575fdfb4c69223c2766fbf5d1aa41a.tar.xz |
pacaur neu
-rw-r--r-- | pacaur/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pacaur/PKGBUILD b/pacaur/PKGBUILD new file mode 100644 index 00000000..143c27db --- /dev/null +++ b/pacaur/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname=pacaur +pkgver=4.7.10 +pkgrel=1 +pkgdesc="An AUR helper that minimizes user interaction" +arch=('any') +url="https://github.com/rmarquis/pacaur" +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') + +build() { + cd "$pkgname-$pkgver" + pod2man --utf8 --section=8 --center="Pacaur Manual" --name="PACAUR"\ + --release="$pkgname $pkgver" ./README.pod > ./pacaur.8 +} + +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 +} + |