[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Jan 6 10:55:48 UTC 2017


    Date: Friday, January 6, 2017 @ 10:55:47
  Author: felixonmars
Revision: 285478

addpkg: uchardet 0.0.6-1

Added:
  uchardet/
  uchardet/repos/
  uchardet/trunk/
  uchardet/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: uchardet/trunk/PKGBUILD
===================================================================
--- uchardet/trunk/PKGBUILD	                        (rev 0)
+++ uchardet/trunk/PKGBUILD	2017-01-06 10:55:47 UTC (rev 285478)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Timothée Ravier <tim at siosm.fr>
+# Contributor: Blake Imsland <blake at 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')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=("https://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5')
+
+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
+}


Property changes on: uchardet/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list