summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHexchain Tong2016-03-31 21:15:41 +0800
committerHexchain Tong2016-03-31 21:15:41 +0800
commite7728b5a223109f43498d48e1d0cbb810aed1267 (patch)
treeee2bc3ad3dbd452250d15e1a215274e70f820ed9
parent4470724ae4485fe203a26625f7b6f55d999b40e2 (diff)
downloadaur-e7728b5a223109f43498d48e1d0cbb810aed1267.tar.gz
fix locale
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbbfee7253d..ad5f8fb5a32 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Feb 21 08:12:55 UTC 2016
+# Thu Mar 31 13:15:31 UTC 2016
pkgbase = coursera-dl-git
pkgdesc = Script for downloading Coursera.org videos and naming them
- pkgver = 0.5.2.r0.g38f190a
+ pkgver = 0.5.2.r12.gb8596ea
pkgrel = 1
url = https://github.com/coursera-dl/coursera-dl/
arch = any
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"