summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHexchain Tong2016-03-31 21:15:41 +0800
committerHexchain Tong2016-03-31 21:15:41 +0800
commite7728b5a223109f43498d48e1d0cbb810aed1267 (patch)
treeee2bc3ad3dbd452250d15e1a215274e70f820ed9 /PKGBUILD
parent4470724ae4485fe203a26625f7b6f55d999b40e2 (diff)
downloadaur-e7728b5a223109f43498d48e1d0cbb810aed1267.tar.gz
fix locale
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c8de615a566..3caeb32cba8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=coursera-dl-git
_gitname=${pkgname/-git/}
-pkgver=0.5.2.r0.g38f190a
+pkgver=0.5.2.r12.gb8596ea
pkgrel=1
pkgdesc="Script for downloading Coursera.org videos and naming them"
arch=('any')
@@ -19,10 +19,15 @@ conflicts=('coursera-dl')
source=("git://github.com/coursera-dl/$_gitname.git")
sha256sums=('SKIP')
+prepare() {
+ export LC_CTYPE="en_US.UTF-8"
+}
+
pkgver() {
cd $_gitname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+
package() {
cd "$srcdir/$_gitname"
python ./setup.py install -O1 --root="$pkgdir"