summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Rossmannek2020-09-14 18:18:28 +0200
committerMax Rossmannek2020-09-14 18:18:28 +0200
commitb010f1262d128d64e993da0847408848c21dfd35 (patch)
treea58850dbee0ba6a24f06df21f8958b21f8daa17f
parente30c5fcd6f7f49142905923605ae700f4929ee9e (diff)
downloadaur-b010f1262d128d64e993da0847408848c21dfd35.tar.gz
Specify DESTDIR for make install_extras
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 843e9337bdd..3d00343997f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cobib-git
pkgdesc = Console Bibliography
pkgver = r257.9440104
- pkgrel = 2
+ pkgrel = 3
url = https://gitlab.com/mrossinek/cobib
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 294a01ffb9b..1cfcdd2420d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: Cullen Ross <cullenrss@gmail.com>
+# Maintainer: Max Rossmannek <max.rossmannek@uzh.ch>
_pkgname='cobib'
pkgname="${_pkgname}-git"
pkgver=r257.9440104
-pkgrel=2
+pkgrel=3
arch=('any')
depends=('python' 'python-bibtexparser' 'python-beautifulsoup4' 'python-ruamel-yaml' 'python-pylatexenc' 'python-requests')
license=('MIT')
@@ -27,7 +28,7 @@ build() {
package() {
cd $srcdir/${_pkgname}
- make install_extras
+ make DESTDIR="${pkgdir}" install_extras
python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}