summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD22
2 files changed, 9 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8918242a4bc..3ac8c40be71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pacaur
pkgdesc = An AUR helper that minimizes user interaction
- pkgver = 4.6.1
+ pkgver = 4.6.2
pkgrel = 1
url = https://github.com/rmarquis/pacaur
arch = any
@@ -11,8 +11,8 @@ pkgbase = pacaur
depends = sudo
depends = git
backup = etc/xdg/pacaur/config
- source = https://github.com/rmarquis/pacaur/archive/4.6.1.tar.gz
- md5sums = 975666818e96cf3254dbd2056bed96b3
+ source = https://github.com/rmarquis/pacaur/archive/4.6.2.tar.gz
+ md5sums = 9f69645ebba55ac461a84eb771f9001c
pkgname = pacaur
diff --git a/PKGBUILD b/PKGBUILD
index 185afe392a4..27f5380280f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=pacaur
-pkgver=4.6.1
+pkgver=4.6.2
pkgrel=1
pkgdesc="An AUR helper that minimizes user interaction"
arch=('any')
@@ -9,7 +9,7 @@ depends=('cower' 'expac' 'sudo' 'git')
makedepends=('perl')
backup=('etc/xdg/pacaur/config')
source=("https://github.com/rmarquis/$pkgname/archive/$pkgver.tar.gz")
-md5sums=('975666818e96cf3254dbd2056bed96b3')
+md5sums=('9f69645ebba55ac461a84eb771f9001c')
build() {
cd "$pkgname-$pkgver"
@@ -34,19 +34,9 @@ package() {
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
- mkdir -p $pkgdir/usr/share/locale/{ca,de,es,fr,hu,it,ja,nl,pl,pt,ru,sk,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/hu.po -o $pkgdir/usr/share/locale/hu/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/nl.po -o $pkgdir/usr/share/locale/nl/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/sk.po -o $pkgdir/usr/share/locale/sk/LC_MESSAGES/pacaur.mo
- msgfmt ./po/tr.po -o $pkgdir/usr/share/locale/tr/LC_MESSAGES/pacaur.mo
+ for i in {ca,de,es,fr,hu,it,ja,nl,pl,pt,ru,sk,sr,sr@latin,tr}; 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
}