summaryrefslogtreecommitdiff
path: root/pcr/pacman2pacman/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-06-11 14:13:04 -0400
committerDavid P <megver83@parabola.nu>2017-06-11 14:13:04 -0400
commit797285727bf981cabccaa4c4f0d07bef2a7142f5 (patch)
tree496bf451e14696688cef967a7d587b135da3b033 /pcr/pacman2pacman/PKGBUILD
parent74fc77063bb6095956ffcc25aa4598d5eb5c0f0c (diff)
parent062c6c8fed43e3eff127b4403699ebbf6b7e2425 (diff)
downloadabslibre-797285727bf981cabccaa4c4f0d07bef2a7142f5.tar.gz
abslibre-797285727bf981cabccaa4c4f0d07bef2a7142f5.tar.bz2
abslibre-797285727bf981cabccaa4c4f0d07bef2a7142f5.zip
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/pacman2pacman/PKGBUILD')
-rw-r--r--pcr/pacman2pacman/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/pcr/pacman2pacman/PKGBUILD b/pcr/pacman2pacman/PKGBUILD
index d545fbc62..235b9d16a 100644
--- a/pcr/pacman2pacman/PKGBUILD
+++ b/pcr/pacman2pacman/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Joseph Graham <joseph@xylon.me.uk>
pkgname=pacman2pacman
-pkgver=20170610.1
+pkgver=20170611.2
pkgdesc="A plugin for pacman to download packages by bittorrent and seed them back up"
url="https://wiki.parabolagnulinux.org/Pacman2pacman"
license=('GPL')
@@ -13,9 +13,9 @@ pkgrel=1
arch=(any)
depends=(transmission-cli)
source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('ce4f31f201a7975a2746c6dd67167ae9')
+md5sums=('d0f180039d4d5d6e78a9a3a55d332749')
-_gitver='commit=5ff043cb7e53981c47a660ef9d392523fada3fb4'
+_gitver='commit=bb3865227066d7bd3e10f8977324e9768ac5a317'
mksource=("$pkgname-$pkgver::git://git.parabola.nu/pacman2pacman.git/#$_gitver")
mkmd5sums=('SKIP')
@@ -33,4 +33,13 @@ package() {
cp pacman2pacman-get "${pkgdir}/usr/bin"
chmod +x "${pkgdir}/usr/bin/pacman2pacman-get"
+
+ for dir in translations/*
+ do
+ if [[ -d "${dir}" ]]
+ then
+ mkdir -p "${pkgdir}/usr/share/locale/${dir#*/}/LC_MESSAGES/"
+ msgfmt -o "${pkgdir}/usr/share/locale/${dir#*/}/LC_MESSAGES/pacman2pacman-get.mo" "${dir}/pacman2pacman-get.po"
+ fi
+ done
}