Date: Saturday, January 7, 2017 @ 23:43:13 Author: eworm Revision: 206057
archrelease: copy trunk to community-i686, community-x86_64 Added: uchardet/repos/community-i686/ uchardet/repos/community-i686/PKGBUILD (from rev 206056, uchardet/trunk/PKGBUILD) uchardet/repos/community-x86_64/ uchardet/repos/community-x86_64/PKGBUILD (from rev 206056, uchardet/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) Copied: uchardet/repos/community-i686/PKGBUILD (from rev 206056, uchardet/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-01-07 23:43:13 UTC (rev 206057) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Timothée Ravier <t...@siosm.fr> +# Contributor: Blake Imsland <bl...@retroco.de> + +pkgname=uchardet +pkgver=0.0.6 +pkgrel=1 +pkgdesc='Encoding detector library ported from Mozilla' +arch=('i686' 'x86_64') +url='https://www.freedesktop.org/wiki/Software/uchardet' +license=('MPL') +makedepends=('cmake') +source=("https://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.xz") +sha256sums=('8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61') + +build() { + cd ${pkgname}-${pkgver} + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}/" install +} + Copied: uchardet/repos/community-x86_64/PKGBUILD (from rev 206056, uchardet/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-01-07 23:43:13 UTC (rev 206057) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Timothée Ravier <t...@siosm.fr> +# Contributor: Blake Imsland <bl...@retroco.de> + +pkgname=uchardet +pkgver=0.0.6 +pkgrel=1 +pkgdesc='Encoding detector library ported from Mozilla' +arch=('i686' 'x86_64') +url='https://www.freedesktop.org/wiki/Software/uchardet' +license=('MPL') +makedepends=('cmake') +source=("https://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.xz") +sha256sums=('8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61') + +build() { + cd ${pkgname}-${pkgver} + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}/" install +} +