summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpyros Stathopoulos2018-11-07 20:31:24 +0000
committerSpyros Stathopoulos2018-11-07 20:31:24 +0000
commitd260c7f190dbe78454de36774e7b00c11b3f1526 (patch)
tree1f5943ca2dcbc4c4d08f9c89f144669905d359bf
parenta81eb48a9b4a2382311d1726265a7dba1d747dc4 (diff)
downloadaur-d260c7f190dbe78454de36774e7b00c11b3f1526.tar.gz
Update to v4.2.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD18
2 files changed, 16 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 20f53d22cd0..15040880c51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu Feb 23 19:09:57 UTC 2017
pkgbase = python-linux-gpib
pkgdesc = A support package for GPIB (IEEE 488) hardware - Python 3 bindings
- pkgver = 4.0.4rc2
+ pkgver = 4.2.0
pkgrel = 1
url = http://linux-gpib.sourceforge.net/
arch = i686
@@ -10,8 +8,8 @@ pkgbase = python-linux-gpib
license = GPL
depends = linux-gpib
depends = python
- source = http://downloads.sourceforge.net/project/linux-gpib/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/4.0.4/linux-gpib-4.0.4rc2.tar.gz
- md5sums = 281274e45825f34e69876d38ae008b44
+ source = http://downloads.sourceforge.net/project/linux-gpib/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/4.2.0/linux-gpib-4.2.0.tar.gz
+ md5sums = 0241dcc2d16f6d12a7aa2c3a623a55ff
pkgname = python-linux-gpib
diff --git a/PKGBUILD b/PKGBUILD
index 226f4e9c5ca..61d924b2294 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=('python-linux-gpib')
_pkgname=('linux-gpib')
-pkgver=4.0.4rc2
-_pkgver=4.0.4
+pkgver=4.2.0
+_pkgver=4.2.0
pkgrel=1
pkgdesc='A support package for GPIB (IEEE 488) hardware - Python 3 bindings'
arch=('i686' 'x86_64')
@@ -9,15 +9,23 @@ url='http://linux-gpib.sourceforge.net/'
license=('GPL')
depends=('linux-gpib' 'python')
source=("http://downloads.sourceforge.net/project/${_pkgname}/${_pkgname}%20for%203.x.x%20and%202.6.x%20kernels/${_pkgver}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('281274e45825f34e69876d38ae008b44')
+md5sums=('0241dcc2d16f6d12a7aa2c3a623a55ff')
+
+prepare() {
+
+ msg "Unpacking userland utils source"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ tar xvfz "${_pkgname}-user-${pkgver}.tar.gz"
+
+}
build() {
- cd "${srcdir}/${_pkgname}-${pkgver}/language/python/"
+ cd "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}-user-${pkgver}/language/python/"
python setup.py build
}
package() {
- cd "${srcdir}/${_pkgname}-${pkgver}/language/python"
+ cd "${srcdir}/${_pkgname}-${pkgver}/${_pkgname}-user-${pkgver}/language/python/"
python setup.py install --prefix=/usr --root=${pkgdir}
}