summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Marquis2015-06-15 16:47:38 +0200
committerRemy Marquis2015-06-15 16:47:38 +0200
commit73aaac483a094193efec30a07ebc50f090dca872 (patch)
tree0033d82bf1b9f528cefbf5d606151bddded4277d
downloadaur-73aaac483a094193efec30a07ebc50f090dca872.tar.gz
4.2.27
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD49
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..421a8f35654
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by makepkg 4.2.1
+# Fri May 8 09:21:13 UTC 2015
+pkgbase = pacaur
+ pkgdesc = A fast workflow AUR helper using cower as backend
+ pkgver = 4.2.27
+ pkgrel = 1
+ url = https://github.com/rmarquis/pacaur
+ arch = any
+ license = GPL
+ makedepends = perl
+ depends = cower
+ depends = expac
+ depends = sudo
+ depends = pacman
+ backup = etc/xdg/pacaur/config
+ source = https://github.com/rmarquis/pacaur/archive/4.2.27.tar.gz
+ md5sums = 195f404dac8b23de85e6acc8730da4eb
+
+pkgname = pacaur
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14517c9c73a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Spyhawk
+
+pkgname=pacaur
+pkgver=4.2.27
+pkgrel=1
+pkgdesc="A fast workflow AUR helper using cower as backend"
+arch=('any')
+url="https://github.com/rmarquis/pacaur"
+license=('GPL')
+depends=('cower' 'expac' 'sudo' 'pacman')
+makedepends=('perl')
+backup=('etc/xdg/pacaur/config')
+source=("https://github.com/rmarquis/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('195f404dac8b23de85e6acc8730da4eb')
+
+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 ./$pkgname $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/locale/{ca,de,es,fr,it,ja,pl,pt,ru,tr}/LC_MESSAGES/
+ msgfmt ./po/ca.po -o $pkgdir/usr/share/locale/ca/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/de.po -o $pkgdir/usr/share/locale/de/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/es.po -o $pkgdir/usr/share/locale/es/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/fr.po -o $pkgdir/usr/share/locale/fr/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/it.po -o $pkgdir/usr/share/locale/it/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/ja.po -o $pkgdir/usr/share/locale/ja/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/pl.po -o $pkgdir/usr/share/locale/pl/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/pt.po -o $pkgdir/usr/share/locale/pt/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/ru.po -o $pkgdir/usr/share/locale/ru/LC_MESSAGES/pacaur.mo
+ msgfmt ./po/tr.po -o $pkgdir/usr/share/locale/tr/LC_MESSAGES/pacaur.mo
+}
+