blob: ae16f1cfa8a28ab6a368b515fde82a27cbbadfe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: CubeTheThird <cubethethird@gmail.com>
_pkgname=icu
pkgname=${_pkgname}57
pkgver=57.2
pkgrel=1
pkgdesc="International Components for Unicode library"
arch=('i686' 'x86_64')
url="http://www.icu-project.org/"
license=('custom:"icu"')
depends=('gcc-libs>=4.7.1-5')
source=(https://github.com/unicode-org/${_pkgname}/releases/download/release-${pkgver//./-}/${_pkgname}4c-${pkgver//./_}-src.tgz)
#source=(http://download.icu-project.org/files/${_pkgname}4c/${pkgver}/${_pkgname}4c-${pkgver//./_}-src.tgz)
sha256sums=('623f04b921827a041f42d52495a6f8eee6565a9b7557051ac68e099123ff28dc')
build() {
cd ${srcdir}/${_pkgname}/source
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make
}
package() {
cd ${srcdir}/${_pkgname}/source
make -j1 DESTDIR=${pkgdir} install
rm -r "${pkgdir}"/usr/{bin,include,sbin,share,lib/*so,lib/icu/{Makefile.inc,current,pkgdata.inc}}
rm -r "${pkgdir}/usr/lib/pkgconfig"
# Install license
install -Dm644 ${srcdir}/${_pkgname}/license.html ${pkgdir}/usr/share/licenses/${pkgname}/license.html
}
|