[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Apr 25 20:14:09 UTC 2021
Date: Sunday, April 25, 2021 @ 20:14:09
Author: felixonmars
Revision: 924434
addpkg: libchardet 1.0.5-1
Added:
libchardet/
libchardet/repos/
libchardet/trunk/
libchardet/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: libchardet/trunk/PKGBUILD
===================================================================
--- libchardet/trunk/PKGBUILD (rev 0)
+++ libchardet/trunk/PKGBUILD 2021-04-25 20:14:09 UTC (rev 924434)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: robertfoster
+
+pkgname=libchardet
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="Mozilla's Universal Charset Detector C/C++ API"
+arch=('x86_64')
+license=('MPL')
+url="http://ftp.oops.org/pub/oops/libchardet"
+depends=('gcc-libs' 'bash')
+source=("https://github.com/Joungkyun/libchardet/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('bc53830d637db7d83dd385375ec702f00ab5bf135ca1cdbad3ce6cb2c0c081856f4c3c2eccfcf7d38b83b41ba052d3d1e286bd8c691929c138014ec4888fd725')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --disable-static
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list