summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--336.diff13
-rw-r--r--PKGBUILD6
2 files changed, 18 insertions, 1 deletions
diff --git a/336.diff b/336.diff
new file mode 100644
index 0000000..7ab16eb
--- /dev/null
+++ b/336.diff
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index b5ca8fbb..14cd99aa 100644
+--- a/setup.py
++++ b/setup.py
+@@ -18,7 +18,7 @@
+ "License :: OSI Approved :: GNU General Public License (GPL)",
+ "Programming Language :: Python :: 3",
+ ],
+- packages=find_packages(),
++ packages=find_packages(exclude=['utils']),
+ zip_safe=False,
+ include_package_data=True,
+ install_requires=[
diff --git a/PKGBUILD b/PKGBUILD
index c8daca8..e3a24b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
pkgname=singularity
pkgver=1.00
_musicver=025e2696638bcc3bf7690679c3a17c0b46823bbe
-pkgrel=6
+pkgrel=7
pkgdesc="Endgame: Singularity - simulation of true AI"
arch=('any')
url="http://emhsoft.com/singularity/index.html"
@@ -19,11 +19,13 @@ depends=('python' 'python-pygame' 'python-numpy')
makedepends=('python-setuptools')
source=("https://github.com/singularity/singularity/releases/download/v${pkgver}/singularity-${pkgver}.tar.gz"{,.asc}
singularity-music-${_musicver}.tar.gz::https://github.com/singularity/singularity-music/archive/${_musicver}.tar.gz
+ 336.diff
"singularity.desktop")
validpgpkeys=('B3131A451DBFDF7CA05B4197054BBB9F7D806442')
b2sums=('1ca2b120311a19f175014835930610583e8f605dbda3ca3ca96d7e0da86bddeb4b0a264f50a003aa51e05b86ce971255ffda5f498598dde6be370b9a953eb1d0'
'SKIP'
'328988697e6a630b7640fa2076fa53ffe5a7c4a3fe4772de6c2ffc4ece3081de4bb57de51159b3ad51f2e54bf796d3775bc40a802e43315aec7767630f8e580f'
+ '0be963ca3fac9e7f68dec1c581e1b82dcd41db2b5f77dd3151f01931da872d2b0e7d320bf6b9062a6e0a2c15b6485c69c75d7e1f1dde2f5f0bfbcd95df6cca39'
'8c59422c8d5cfeb878ded6047bbceb8adc51e4bda74ad1f51a6b96d3b7895106abf3bcf5d70eea234a1325ea3c131643d7c4ba72813d480e651b58d26e3c300a')
prepare() {
@@ -32,6 +34,8 @@ prepare() {
cp --reflink -r "$srcdir"/singularity-music-${_musicver}/music singularity/music
sed -i "s|prune singularity/music|recursive-include singularity/music *|g" MANIFEST.in
sed -i "s|replaceme|python$(pacman -Q python | cut -d ' ' -f 2 | cut -d . -f 1,2)|g" "$srcdir"/singularity.desktop
+
+ patch -Np1 -i "$srcdir"/336.diff
}
build() {