summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-08-29 21:27:18 -0500
committerDoug Newgard2014-08-29 21:27:18 -0500
commitd8cbaf0ef4227f503971e7b992eb2ee4e19aec35 (patch)
tree00cb7a75b7f2774010c6fdc8168b610623d6400f
parent43671567e69d43a0f761a2dfff169a527abdccdf (diff)
downloadaur-d8cbaf0ef4227f503971e7b992eb2ee4e19aec35.tar.gz
Include pyc/pyo files
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ee7cb01650..6147056ff86 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = edgar-git
pkgdesc = Enlightenment module: Load Python gadgets
- pkgver = 0.2.0.r5.af2bd6a
+ pkgver = 0.2.0.r6.06dd897
pkgrel = 1
url = https://git.enlightenment.org/enlightenment/modules/edgar.git
arch = i686
@@ -10,7 +10,7 @@ pkgbase = edgar-git
makedepends = git
depends = enlightenment
depends = python-efl
- provides = edgar=0.2.0.r5.af2bd6a
+ provides = edgar=0.2.0.r6.06dd897
conflicts = edgar
source = git://git.enlightenment.org/enlightenment/modules/edgar.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 5b7030bc9d2..aae7115cb4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=edgar
pkgname=$_pkgname-git
-pkgver=0.2.0.r5.af2bd6a
+pkgver=0.2.0.r6.06dd897
pkgrel=1
pkgdesc="Enlightenment module: Load Python gadgets"
arch=('i686' 'x86_64')
@@ -58,6 +58,10 @@ package() {
done
popd
+# compile python files
+ python -m compileall -q "$pkgdir"
+ python -O -m compileall -q "$pkgdir"
+
# install text files
install -d "$pkgdir/usr/share/doc/$_pkgname/"
install -m644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS ChangeLog NEWS README