[arch-commits] Commit in libpsl/repos (4 files)

Levente Polyak anthraxx at archlinux.org
Wed Jan 18 17:25:14 UTC 2017


    Date: Wednesday, January 18, 2017 @ 17:25:13
  Author: anthraxx
Revision: 286930

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libpsl/repos/testing-i686/
  libpsl/repos/testing-i686/PKGBUILD
    (from rev 286929, libpsl/trunk/PKGBUILD)
  libpsl/repos/testing-x86_64/
  libpsl/repos/testing-x86_64/PKGBUILD
    (from rev 286929, libpsl/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

Copied: libpsl/repos/testing-i686/PKGBUILD (from rev 286929, libpsl/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-01-18 17:25:13 UTC (rev 286930)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Darshit Shah <darnir at gmail.com>
+
+pkgname=libpsl
+pkgver=0.17.0
+pkgrel=1
+pkgdesc='Public Suffix List library'
+url='https://github.com/rockdaboot/libpsl'
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('icu>=55.1-1')
+makedepends=('libxslt' 'python' 'publicsuffix-list')
+source=(https://github.com/rockdaboot/libpsl/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('10632d462a749c24a1de67daf33e28fad8e9f63531f5b43d399db09a2dbfb7c843162290f0279d80459018ab3465d4d128689e1740cd3334b1276c3d112fdff6')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  rm -frv list
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --disable-static \
+    --disable-dependency-tracking \
+    --enable-man \
+    --enable-{builtin,runtime}=libicu \
+    --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
+    --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt
+  LC_CTYPE=en_US.UTF-8 make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 docs/libpsl/libpsl.3 -t "${pkgdir}/usr/share/man/man3"
+}
+
+# vim: ts=2 sw=2 et:

Copied: libpsl/repos/testing-x86_64/PKGBUILD (from rev 286929, libpsl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-01-18 17:25:13 UTC (rev 286930)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Darshit Shah <darnir at gmail.com>
+
+pkgname=libpsl
+pkgver=0.17.0
+pkgrel=1
+pkgdesc='Public Suffix List library'
+url='https://github.com/rockdaboot/libpsl'
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('icu>=55.1-1')
+makedepends=('libxslt' 'python' 'publicsuffix-list')
+source=(https://github.com/rockdaboot/libpsl/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('10632d462a749c24a1de67daf33e28fad8e9f63531f5b43d399db09a2dbfb7c843162290f0279d80459018ab3465d4d128689e1740cd3334b1276c3d112fdff6')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  rm -frv list
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --disable-static \
+    --disable-dependency-tracking \
+    --enable-man \
+    --enable-{builtin,runtime}=libicu \
+    --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
+    --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt
+  LC_CTYPE=en_US.UTF-8 make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 docs/libpsl/libpsl.3 -t "${pkgdir}/usr/share/man/man3"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list