Date: Tuesday, November 8, 2022 @ 14:18:48
  Author: alucryd
Revision: 460918

archrelease: copy trunk to extra-x86_64

Added:
  zvbi/repos/extra-x86_64/PKGBUILD
    (from rev 460917, zvbi/trunk/PKGBUILD)
Deleted:
  zvbi/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 50 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-08 14:18:40 UTC (rev 460917)
+++ PKGBUILD    2022-11-08 14:18:48 UTC (rev 460918)
@@ -1,31 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: Alexander Baldeck <[email protected]>
-# Contributor: dorphell <[email protected]>
-
-pkgname=zvbi
-pkgver=0.2.35
-pkgrel=4
-pkgdesc='VBI capture and decoding library'
-url='http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome'
-arch=('x86_64')
-depends=('libpng' 'libx11')
-license=('GPL')
-source=("https://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2";)
-sha256sums=('fc883c34111a487c4a783f91b1b2bb5610d8d8e58dcba80c7ab31e67e4765318')
-
-build() {
-  cd zvbi-${pkgver}
-
-  ./configure \
-    --prefix='/usr' \
-    --sbindir='/usr/bin'
-  make
-}
-
-package() {
-  cd zvbi-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: zvbi/repos/extra-x86_64/PKGBUILD (from rev 460917, zvbi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-08 14:18:48 UTC (rev 460918)
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Alexander Baldeck <[email protected]>
+# Contributor: dorphell <[email protected]>
+
+pkgname=zvbi
+pkgver=0.2.37
+pkgrel=1
+pkgdesc='VBI capture and decoding library'
+url=http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome
+arch=(x86_64)
+depends=(
+  libpng
+  libx11
+)
+makedepends=(git)
+license=(
+  BSD
+  GPL2
+  LGPL2.1
+  MIT
+)
+_tag=b38ac3dd08d20416753531b372fce5962886b125
+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 zvbi
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd zvbi
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING.md -t "${pkgdir}"/usr/share/licenses/zvbi
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to