summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Gerritse2020-04-15 16:59:26 +0200
committerJohn Gerritse2020-04-15 16:59:26 +0200
commit2951351ecb92172d70045e434c71af60e3f9bc45 (patch)
treea70d88ed692819d5539dc89d0436da8ba0d0e785
parent826b969564c62fe3c5347ce53e27918f7c598c34 (diff)
downloadaur-2951351ecb92172d70045e434c71af60e3f9bc45.tar.gz
Fixed the PKGBUILD so it would build
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97326a515fa..477975bcdd9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = python-meta
pkgdesc = Python Meta Programming
pkgver = 0.4.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/srossross/Meta
arch = any
license = BSD
depends = python
+ depends = python-setuptools
source = python-meta-0.4.1.tar.gz::https://github.com/srossross/Meta/archive/0.4.1.tar.gz
sha256sums = 9d918bd5277ce4f41f9ffe25584928cc04001ca2aae25d1f7f1dac87e0ba398c
diff --git a/PKGBUILD b/PKGBUILD
index d1dc02ce141..9497d1c8429 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=python-meta
pkgver=0.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="Python Meta Programming"
arch=('any')
url="https://github.com/srossross/Meta"
license=('BSD')
-depends=(python)
+depends=('python' 'python-setuptools')
source=(
${pkgname}-${pkgver}.tar.gz::https://github.com/srossross/Meta/archive/${pkgver}.tar.gz
)
@@ -17,11 +17,11 @@ sha256sums=(
build() {
cd "Meta-${pkgver}"
- python setup.py build
+ LANG=en_US.UTF-8 python setup.py build
}
package() {
cd "Meta-${pkgver}"
- python setup.py install --skip-build --root="$pkgdir/" --optimize=1
+ LANG=en_US.UTF-8 python setup.py install --root=$pkgdir --optimize=1 --skip-build
install -D -m644 license.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}