blob: afb9786a204f62e679c28c4a275f3262179ac17f (
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
33
|
# Maintainer: Marco44 (Marc Cousin) <cousinmarc at gmail dot com>
pkgname=pg_icu_ext-git
_gitname=icu_ext
pkgver=v1.8.0.r7.g860e9fd
pkgrel=1
pkgdesc="PostgreSQL icu_ext package. See https://github.com/dverite/icu_ext"
arch=('i686' 'x86_64')
url="https://github.com/dverite/icu_ext"
license=('BSD')
depends=('postgresql')
builddepends=()
makedepends=(git)
options=(!emptydirs !libtool)
source=('git+https://github.com/dverite/icu_ext.git')
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --long --tags | sed 's/REL//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
local _gitdir=$srcdir/$_gitname
cd $_gitdir
git clean -dfx
git reset --hard
make
}
package() {
cd $srcdir/$_gitname
make DESTDIR=$pkgdir install
}
|