summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rawlinson2019-06-05 08:16:44 +1200
committerGeorge Rawlinson2019-06-05 08:16:44 +1200
commitd2592061064023de57c43c3de78d54a5f176bf1c (patch)
treee39f4d8716037df7b89f2414087ca02d61aac46b
parenta9da157274e15ddf3c4ffca067896b23a2950713 (diff)
downloadaur-libiconv.tar.gz
updpkg(libiconv): 1.16
-rw-r--r--.SRCINFO9
-rw-r--r--.gitignore9
-rw-r--r--PKGBUILD19
3 files changed, 27 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed4f535969e..d8906fbc9a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,17 @@
pkgbase = libiconv
pkgdesc = Provides libiconv.so and libcharset.so
- pkgver = 1.15
+ pkgver = 1.16
pkgrel = 1
url = http://www.gnu.org/software/libiconv/
arch = i686
arch = x86_64
license = LGPL
options = !libtool
- source = http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz
- md5sums = ace8b5f2db42f7b3b3057585e80d9808
+ source = http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz
+ source = http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz.sig
+ validpgpkeys = 68D94D8AAEEAD48AE7DC5B904F494A942E4616C2
+ sha512sums = 365dac0b34b4255a0066e8033a8b3db4bdb94b9b57a9dca17ebf2d779139fe935caf51a465d17fd8ae229ec4b926f3f7025264f37243432075e5583925bb77b7
+ sha512sums = SKIP
pkgname = libiconv
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..64b60519263
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+# directories
+pkg
+src
+
+# files
+*.tar.gz
+*.pkg.tar.xz
+*.log
+*.sig
diff --git a/PKGBUILD b/PKGBUILD
index 469731449b2..87009ac4214 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,24 @@
-# Maintainer: Arthur Darcet <arthur.darcet at m4x.org>
+# Maintainer: George Rawlinson <george@rawlinson.net.nz>
+# Contributor: Arthur Darcet <arthur.darcet at m4x.org>
# Contributor: Techlive Zheng <techlivezheng at gmail.com>
pkgname=libiconv
-pkgver=1.15
+pkgver=1.16
pkgrel=1
pkgdesc='Provides libiconv.so and libcharset.so'
arch=('i686' 'x86_64')
url='http://www.gnu.org/software/libiconv/'
license=('LGPL')
-source=("http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('ace8b5f2db42f7b3b3057585e80d9808')
+source=("http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('365dac0b34b4255a0066e8033a8b3db4bdb94b9b57a9dca17ebf2d779139fe935caf51a465d17fd8ae229ec4b926f3f7025264f37243432075e5583925bb77b7'
+ 'SKIP')
options=(!libtool)
+validpgpkeys=(
+ '68D94D8AAEEAD48AE7DC5B904F494A942E4616C2' # Bruno Haible
+)
build() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd "${pkgname}-${pkgver}"
sed '/LD_RUN_PATH/d' -i Makefile.in
./configure --prefix=/usr
cp -f /usr/include/stdio.h srclib/stdio.in.h
@@ -21,8 +26,8 @@ build() {
}
package() {
- cd $srcdir/${pkgname}-${pkgver}
- make DESTDIR="$pkgdir" LIBDIR="/usr/lib" install
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" LIBDIR="/usr/lib" install
mv "$pkgdir"/usr/include/{iconv.h,libiconv.h}
mv "$pkgdir"/usr/bin/{iconv,libiconv}
mv "$pkgdir"/usr/share/man/man1/{,lib}iconv.1