summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorj.r2020-06-25 17:42:57 +0200
committerj.r2020-06-25 17:42:57 +0200
commit29d4fcf0d439e352c925da0a0923f3a19011d789 (patch)
tree5ec35eb99a0458333a82c8e140770e5c2cf5a316
parent7838ef04cb570bb003871d61bc30b0d84a76c72d (diff)
downloadaur-29d4fcf0d439e352c925da0a0923f3a19011d789.tar.gz
Update to new upstream
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD85
2 files changed, 57 insertions, 54 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e950c0bf8a5..f41efa27542 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,27 +1,17 @@
pkgbase = libvc
pkgdesc = vCard library.
- pkgver = 003
- pkgrel = 3
- url = http://rolo.sourceforge.net
+ pkgver = 006
+ pkgrel = 1
+ url = https://github.com/libvc/libvc
arch = i686
arch = x86_64
license = LGPL
depends = glibc
- source = http://downloads.sourceforge.net/rolo/libvc-003.tar.gz
- source = count-vcards-buffer-overflow.diff
- source = field-names-comply-with-vCard2.1diff
- source = manpage-Lb-definition.diff
- source = accept-line-folding.diff
- md5sums = 3c9f0fb512d02d179f57a9eadcfa1043
- md5sums = 98b3c99555f1e69a0d07152cb800da4f
- md5sums = d5bd5ff0720cc726998694c2e01e495e
- md5sums = 1366acdbc5569cd18079d823eb91782c
- md5sums = 8cf005aac291836e574751f49b5fa32b
- sha256sums = c5e75ff0ad63b723179dfcc62849adedcfa575473b784f3bca982b2c481e0b9b
- sha256sums = 78466514046a2c04e3c50b51d4a8e1d7c0f4ae781b0d1221078b9e9ba46dbab2
- sha256sums = bfeb6c52aece423646454ca17905fdf2c351eb56fa19a79db51c4c0c08420c5e
- sha256sums = 08798202bcc7c8453eeb13f5328ec1a135527f55920b67d05ec1674692191691
- sha256sums = 62e8ab67b03d4140ced02ec894a460bf3a0d06f86f1d4ab804132d71cc8b0e7d
+ source = https://github.com/libvc/libvc/archive/v006.tar.gz
+ source = https://github.com/libvc/libvc/releases/download/v006/v006.tar.gz.sig
+ validpgpkeys = 3F464391498FE874BDB5D98F2124AA1983785C90
+ md5sums = 4fb0ba25badf35fcf394513734e98048
+ md5sums = SKIP
pkgname = libvc
diff --git a/PKGBUILD b/PKGBUILD
index ec7b08c0ed7..908e7c9529f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,57 +1,70 @@
-# Maintainer: Loui Chang <base64:bG91aXBjLmlzdEBnbWFpbC5jb20=>
+# Maintainer: j.r <j.r@jugendhacker.de>
+# Contributor: Loui Chang <base64:bG91aXBjLmlzdEBnbWFpbC5jb20=>
# Contributor: Jeff Mickey <j@codemac.net>
pkgname=libvc
-pkgver=003
-pkgrel=3
+pkgver=006
+pkgrel=1
pkgdesc="vCard library."
arch=('i686' 'x86_64')
-url="http://rolo.sourceforge.net"
+url="https://github.com/$pkgname/$pkgname"
license=("LGPL")
depends=('glibc')
-source=(
- http://downloads.sourceforge.net/rolo/$pkgname-$pkgver.tar.gz
- count-vcards-buffer-overflow.diff
- field-names-comply-with-vCard2.1diff
- manpage-Lb-definition.diff
- accept-line-folding.diff
-)
+source=("$url/archive/v$pkgver.tar.gz"
+ "$url/releases/download/v$pkgver/v$pkgver.tar.gz.sig")
+
+validpgpkeys=('3F464391498FE874BDB5D98F2124AA1983785C90')
+
+#source=(
+# http://downloads.sourceforge.net/rolo/$pkgname-$pkgver.tar.gz
+# count-vcards-buffer-overflow.diff
+# field-names-comply-with-vCard2.1diff
+# manpage-Lb-definition.diff
+# accept-line-folding.diff
+#)
# Patches originate from
# https://anonscm.debian.org/cgit/users/rafael/deb-pkg/libvc.git/
# but I don't want to rely on the source being available.
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
- patch -p1 -i ../count-vcards-buffer-overflow.diff
- patch -p1 -i ../field-names-comply-with-vCard2.1diff
- patch -p1 -i ../manpage-Lb-definition.diff
- patch -p1 -i ../accept-line-folding.diff
+#patch -p1 -i ../count-vcards-buffer-overflow.diff
+#patch -p1 -i ../field-names-comply-with-vCard2.1diff
+#patch -p1 -i ../manpage-Lb-definition.diff
+#patch -p1 -i ../accept-line-folding.diff
+
+ autoreconf -f -i
+ ./configure --prefix=/usr
+ make
+}
- ./configure --prefix=/usr
- make
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- find ${pkgdir} -name '*.la' -exec rm {} \;
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
}
-md5sums=(
- '3c9f0fb512d02d179f57a9eadcfa1043'
- '98b3c99555f1e69a0d07152cb800da4f'
- 'd5bd5ff0720cc726998694c2e01e495e'
- '1366acdbc5569cd18079d823eb91782c'
- '8cf005aac291836e574751f49b5fa32b'
-)
-
-sha256sums=(
- 'c5e75ff0ad63b723179dfcc62849adedcfa575473b784f3bca982b2c481e0b9b'
- '78466514046a2c04e3c50b51d4a8e1d7c0f4ae781b0d1221078b9e9ba46dbab2'
- 'bfeb6c52aece423646454ca17905fdf2c351eb56fa19a79db51c4c0c08420c5e'
- '08798202bcc7c8453eeb13f5328ec1a135527f55920b67d05ec1674692191691'
- '62e8ab67b03d4140ced02ec894a460bf3a0d06f86f1d4ab804132d71cc8b0e7d'
-)
+#md5sums=(
+# '3c9f0fb512d02d179f57a9eadcfa1043'
+# '98b3c99555f1e69a0d07152cb800da4f'
+# 'd5bd5ff0720cc726998694c2e01e495e'
+# '1366acdbc5569cd18079d823eb91782c'
+# '8cf005aac291836e574751f49b5fa32b'
+#)
+
+#sha256sums=(
+# 'c5e75ff0ad63b723179dfcc62849adedcfa575473b784f3bca982b2c481e0b9b'
+# '78466514046a2c04e3c50b51d4a8e1d7c0f4ae781b0d1221078b9e9ba46dbab2'
+# 'bfeb6c52aece423646454ca17905fdf2c351eb56fa19a79db51c4c0c08420c5e'
+# '08798202bcc7c8453eeb13f5328ec1a135527f55920b67d05ec1674692191691'
+# '62e8ab67b03d4140ced02ec894a460bf3a0d06f86f1d4ab804132d71cc8b0e7d'
+#)
+md5sums=('4fb0ba25badf35fcf394513734e98048'
+ 'SKIP')