diff options
author | Rodrigo Bezerra | 2023-04-09 11:41:59 -0300 |
---|---|---|
committer | Rodrigo Bezerra | 2023-04-09 11:41:59 -0300 |
commit | 0f6744dacb32a34cabe63f8b69066180c24ec0da (patch) | |
tree | 4d8c4780e3b978861525f59305e44c7cdb4b337d | |
parent | 2b473684e753fe7e23e0d43e76d02d924e16e527 (diff) | |
download | aur-0f6744dacb32a34cabe63f8b69066180c24ec0da.tar.gz |
Update to version 0.2.41
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 36 insertions, 18 deletions
@@ -1,15 +1,18 @@ pkgbase = lib32-zvbi pkgdesc = VBI capture and decoding library (32-bit) - pkgver = 0.2.35 - pkgrel = 3 + pkgver = 0.2.41 + pkgrel = 1 url = http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome arch = x86_64 - license = GPL + license = BSD + license = GPL2 + license = LGPL2.1 + license = MIT + makedepends = git makedepends = lib32-libx11 depends = lib32-libpng depends = zvbi - source = http://downloads.sourceforge.net/sourceforge/zapping/zvbi-0.2.35.tar.bz2 - sha256sums = fc883c34111a487c4a783f91b1b2bb5610d8d8e58dcba80c7ab31e67e4765318 + source = git+https://github.com/zapping-vbi/zvbi.git#tag=74016b7aef2f52f44920a04f9bcfe52ed72905d1 + b2sums = SKIP pkgname = lib32-zvbi - @@ -3,39 +3,54 @@ pkgname=lib32-zvbi _basename=zvbi -pkgver=0.2.35 -pkgrel=3 +pkgver=0.2.41 +pkgrel=1 pkgdesc="VBI capture and decoding library (32-bit)" url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome" arch=('x86_64') depends=('lib32-libpng' 'zvbi') -makedepends=('lib32-libx11') -license=('GPL') -source=(http://downloads.sourceforge.net/sourceforge/zapping/${_basename}-${pkgver}.tar.bz2) -sha256sums=('fc883c34111a487c4a783f91b1b2bb5610d8d8e58dcba80c7ab31e67e4765318') +makedepends=('git' 'lib32-libx11') +license=('BSD' 'GPL2' 'LGPL2.1' 'MIT') +_tag=74016b7aef2f52f44920a04f9bcfe52ed72905d1 +source=(git+https://github.com/zapping-vbi/zvbi.git#tag=${_tag}) +b2sums=(SKIP) + +prepare() { + cd zvbi + + NOCONFIGURE=1 ./autogen.sh +} + +pkgver() { + cd zvbi + + git describe --tags | sed 's/^v//' +} build() { - cd "${_basename}-${pkgver}" + cd zvbi export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - ./configure --prefix=/usr \ - --build=i686-pc-linux-gnu \ + ./configure \ + --prefix=/usr \ --sbindir=/usr/bin \ - --libdir=/usr/lib32 + --libdir=/usr/lib32 \ + --build=i686-pc-linux-gnu make } package() { - cd "${_basename}-${pkgver}" + cd zvbi make DESTDIR="${pkgdir}" install rm -r "${pkgdir}/usr/bin" rm -r "${pkgdir}/usr/include" rm -r "${pkgdir}/usr/share" + + install -Dm 644 COPYING.md -t "${pkgdir}/usr/share/licenses/${pkgname}" } |