summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mesa2016-05-16 21:29:34 -0500
committerSamuel Mesa2016-05-16 21:29:34 -0500
commitc0162b255d023b4e96771568563d4e938eefbfd9 (patch)
tree769641775cec47b3b46778cf1bb225160cca67d2
downloadaur-c0162b255d023b4e96771568563d4e938eefbfd9.tar.gz
Initial files
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9126dbf74fd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Tue May 17 02:29:22 UTC 2016
+pkgbase = libiconv
+ pkgdesc = Provides libiconv.so and libcharset.so
+ pkgver = 1.14
+ 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.14.tar.gz
+ md5sums = e34509b1623cec449dfeb73d7ce9c6c6
+
+pkgname = libiconv
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a875b95095b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Arthur Darcet <arthur.darcet at m4x.org>
+# Contributor: Techlive Zheng <techlivezheng at gmail.com>
+
+pkgname=libiconv
+pkgver=1.14
+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=('e34509b1623cec449dfeb73d7ce9c6c6')
+options=(!libtool)
+
+build() {
+ cd $srcdir/${pkgname}-${pkgver}
+ sed '/LD_RUN_PATH/d' -i Makefile.in
+ ./configure --prefix=/usr
+ cp -f /usr/include/stdio.h srclib/stdio.in.h
+ make
+}
+
+package() {
+ cd $srcdir/${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
+ mv "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv.3
+ mv "$pkgdir"/usr/share/man/man3/{,libiconv_}iconvctl.3
+ mv "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv_open.3
+ mv "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv_close.3
+ mv "$pkgdir"/usr/share/man/man3/{,libiconv_}iconv_open_into.3
+}