summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-12-29 16:26:36 +0800
committerUniversebenzene2018-12-29 16:26:36 +0800
commitb0d4ad635542167a2fdbf0f6a19aab5bfb07333f (patch)
tree84386bce36734b3085aa45c1cdd7efdd25476c56
parent9e71adde1dbc67662b3145564bdc35a35f2d7dba (diff)
downloadaur-b0d4ad635542167a2fdbf0f6a19aab5bfb07333f.tar.gz
Improve packaging
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 4 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe5c7268000..35b057b587c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Dec 29 05:48:10 UTC 2018
+# Sat Dec 29 08:26:04 UTC 2018
pkgbase = python2-gdl
pkgdesc = Python interface for the GNU Data Language(GDL)
pkgver = 0.9.8
diff --git a/PKGBUILD b/PKGBUILD
index 7493ab86c7d..a8bd0dab852 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,6 +47,9 @@ build() {
package() {
cd ${srcdir}/gdl-${pkgver}/build
+ if [[ -d ../pkginstall ]]; then
+ rm -r ../pkginstall
+ fi
mkdir ../pkginstall
make DESTDIR=../pkginstall install