summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD31
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ad53adaba86
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = zlib-ng-git
+ pkgdesc = zlib for the "next generation" systems. Drop-In replacement with some serious optimizations.
+ pkgver = 1.2.8
+ pkgrel = 1
+ url = https://github.com/Dead2/zlib-ng
+ arch = i686
+ arch = x86_64
+ license = zlib
+ depends = glibc
+ conflicts = zlib
+ source = git://github.com/Dead2/zlib-ng.git
+ md5sums = SKIP
+
+pkgname = zlib-ng-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..61b43f962d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Radu Potop <radu@wooptoo.com>
+
+pkgname=zlib-ng-git
+pkgver=1.2.8
+pkgrel=1
+pkgdesc='zlib for the "next generation" systems. Drop-In replacement with some serious optimizations.'
+arch=('i686' 'x86_64')
+license=('zlib')
+url="https://github.com/Dead2/zlib-ng"
+depends=('glibc')
+source=("git://github.com/Dead2/zlib-ng.git")
+conflicts=('zlib')
+md5sums=('SKIP')
+_gitname='zlib-ng'
+
+build() {
+ cd ${srcdir}/${_gitname}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ make install DESTDIR=${pkgdir}
+
+ install -D libz.so ${pkgdir}/usr/lib/libz.so
+ install -D libz.so.1 ${pkgdir}/usr/lib/libz.so.1
+ install -D libz.so.${pkgver}.zlib-ng ${pkgdir}/usr/lib/libz.so.${pkgver}
+
+ install -D -m644 LICENSE.md ${pkgdir}/usr/share/licenses/zlib/LICENSE
+}