Date: Wednesday, November 30, 2016 @ 10:48:56 Author: anthraxx Revision: 282369
archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpsl/repos/testing-i686/ libpsl/repos/testing-i686/PKGBUILD (from rev 282368, libpsl/trunk/PKGBUILD) libpsl/repos/testing-x86_64/ libpsl/repos/testing-x86_64/PKGBUILD (from rev 282368, libpsl/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) Copied: libpsl/repos/testing-i686/PKGBUILD (from rev 282368, libpsl/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-11-30 10:48:56 UTC (rev 282369) @@ -0,0 +1,47 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Darshit Shah <dar...@gmail.com> + +pkgname=libpsl +pkgver=0.15.0 +pkgrel=6 +pkgdesc='Publix Suffic 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=('8024ee938d313cdb8f085c9419038d19e1b434093051c752bcd7dff7b63dfd9eadf9990b8e4e48e1abf40460f3354665d0904e2157c8a0a5f85feb8ebb16c307') + +prepare() { + cd ${pkgname}-${pkgver} + rm -frv list +} + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --disable-static \ + --disable-dependency-tracking \ + --enable-man \ + --enable-builtin=libicu \ + --enable-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 282368, libpsl/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-11-30 10:48:56 UTC (rev 282369) @@ -0,0 +1,47 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Darshit Shah <dar...@gmail.com> + +pkgname=libpsl +pkgver=0.15.0 +pkgrel=6 +pkgdesc='Publix Suffic 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=('8024ee938d313cdb8f085c9419038d19e1b434093051c752bcd7dff7b63dfd9eadf9990b8e4e48e1abf40460f3354665d0904e2157c8a0a5f85feb8ebb16c307') + +prepare() { + cd ${pkgname}-${pkgver} + rm -frv list +} + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --disable-static \ + --disable-dependency-tracking \ + --enable-man \ + --enable-builtin=libicu \ + --enable-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: