diff options
author | actionless | 2018-05-11 21:21:28 +0200 |
---|---|---|
committer | actionless | 2018-05-11 21:21:28 +0200 |
commit | 7462899ff68bcd71df600a32e90e2cabce60d72c (patch) | |
tree | 0ae2ce2df05863f4b6973c0e8ea0759b54e40a18 /PKGBUILD | |
parent | fab439772e32aaa9cbcbda54ff6c6358a22985e3 (diff) | |
download | aur-7462899ff68bcd71df600a32e90e2cabce60d72c.tar.gz |
update to 0.10.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ # shellcheck disable=SC2034,SC2154 pkgname=pikaur -pkgver=0.10.1 +pkgver=0.10.2 pkgrel=1 pkgdesc="AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction." arch=('any') @@ -11,11 +11,10 @@ license=('GPLv3') source=( "$pkgname-$pkgver.tar.gz"::https://github.com/actionless/pikaur/archive/"$pkgver".tar.gz ) -md5sums=('74c4d82da70360beab064aa73da43572') +md5sums=('2442d8d6529cd753e60a57a32d820861') depends=( 'pyalpm' 'git' - 'fakeroot' ) conflicts=('pikaur-git') @@ -28,8 +27,9 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" || exit 2 python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 - for lang in fr ru pt de is; do - install -Dm644 "locale/${lang}.mo" "$pkgdir/usr/share/locale/${lang}/LC_MESSAGES/pikaur.mo" + for langmo in $(cd ./locale && ls ./*.mo); do + lang=$(sed -e 's/.mo$//' <<< "${langmo}") + install -Dm644 "locale/${langmo}" "$pkgdir/usr/share/locale/${lang}/LC_MESSAGES/pikaur.mo" done install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" cp -r ./packaging/* "${pkgdir}" |