diff options
author | Michael Prager | 2024-01-02 00:46:45 +0100 |
---|---|---|
committer | Michael Prager | 2024-01-02 00:46:45 +0100 |
commit | 4abee584d22f08d7622bb55e782ea2b6466df275 (patch) | |
tree | 042e128de1a144cda55ab980720f6a12d6bff0f8 | |
parent | 2525819fea921973a0264d987853136a7336f246 (diff) | |
download | aur-4abee584d22f08d7622bb55e782ea2b6466df275.tar.gz |
Fixed package no longer being available on author's website. Use github package instead. This needed some additional workarounds since the packages differ
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 15 insertions, 11 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Mon Dec 21 20:57:16 UTC 2015 pkgbase = srmio pkgdesc = library + command line tools to access a "Schoberer Rad Messtechnik" PowerControl V, VI and 7 + read/write their files pkgver = 0.1.1~git1 - pkgrel = 1 + pkgrel = 2 url = http://www.zuto.de/project/srmio/ arch = i686 arch = x86_64 @@ -13,8 +11,7 @@ pkgbase = srmio options = !strip options = !buildflags options = staticlibs - source = http://www.zuto.de/project/files/srmio/srmio-0.1.1~git1.tar.gz - md5sums = badca33309f469930e13a7d40ea6eadf + source = https://github.com/rclasen/srmio/archive/refs/tags/v0.1.1git1.tar.gz + md5sums = 09aaa574e130431b1b943329e9029ff0 pkgname = srmio - @@ -1,7 +1,7 @@ # Maintainer: Ammann Max <maximilian.ammann@googlemail.com> pkgname=srmio pkgver=0.1.1~git1 -pkgrel=1 +pkgrel=2 pkgdesc="library + command line tools to access a \"Schoberer Rad Messtechnik\" PowerControl V, VI and 7 + read/write their files" arch=('i686' 'x86_64') url="http://www.zuto.de/project/srmio/" @@ -9,16 +9,23 @@ license=('custom: Rainer Clasen') makedepends=('gcc' 'make') depends=() options=('!strip' '!buildflags' 'staticlibs') -source=(http://www.zuto.de/project/files/srmio/srmio-0.1.1~git1.tar.gz) -md5sums=(badca33309f469930e13a7d40ea6eadf) +source=(https://github.com/rclasen/srmio/archive/refs/tags/v0.1.1git1.tar.gz) +md5sums=('09aaa574e130431b1b943329e9029ff0') +pkgverstripped=$(echo $pkgver | sed -r 's/~//g') build() { - cd "${srcdir}/srmio-$pkgver/" + cd "${srcdir}/srmio-$pkgverstripped/" + + # resurrect a variable that would have been generated by a now obsolete autoconf macro. Noweverdays this is simply always true. + export ac_cv_header_time=yes + # package on github does not ship with pre-generated configuration in contrast to the pacakge that was available on zuto.de + sh ./genautomake.sh + ./configure --prefix=/usr/ make -j8 } package() { - cd "${srcdir}/srmio-$pkgver/" + cd "${srcdir}/srmio-$pkgverstripped/" make DESTDIR="$pkgdir/" install } |