summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Santos2019-02-03 21:04:23 +0100
committerBruno Santos2019-02-03 21:04:23 +0100
commit3ca7d60d1953511952852303b6ac267ce6e64388 (patch)
treee10477c90cdd46b0825a614331a675dc35b56f65
parent1beb3d8f21347b338cf7bd1ff5b83e7e3a750e54 (diff)
downloadaur-3ca7d60d1953511952852303b6ac267ce6e64388.tar.gz
Fix installation directory name
This packaging error would naturally upset the module import.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc144c9e6fa6..82426e283f01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-sphinx-hawkmoth-git
pkgdesc = Sphinx autodoc C extension
pkgver = latest
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jnikula/hawkmoth
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 4766e94a746b..b039411e7fe6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ upstream_name=hawkmoth
aur_name=python-sphinx-hawkmoth
pkgname=$aur_name-git
pkgver=latest
-pkgrel=1
+pkgrel=2
pkgdesc='Sphinx autodoc C extension'
arch=('i686' 'x86_64')
url='https://github.com/jnikula/hawkmoth'
@@ -16,7 +16,7 @@ source=('git+https://github.com/jnikula/hawkmoth')
md5sums=('SKIP')
package() {
- dest=$pkgdir/usr/lib/python3.7/site-packages/$aur_name
+ dest=$pkgdir/usr/lib/python3.7/site-packages/$upstream_name
mkdir -p $dest
cp -r $srcdir/$upstream_name/$upstream_name/* $dest
}