summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 57038a989e3de6c70e2779ef4ca5df99662d527a (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: 1ridic <i@iridium.cyou>
_pkgname=pg_cjk_parser
pkgname=${_pkgname}-git
pkgver=r22.bd70b93
provides=('pg_cjk_parser')
conflicts=('pg_cjk_parser')
license=('custom')
pkgrel=1
pkgdesc="fts (full text search) parser derived from the default parser in PostgreSQL"
arch=(x86_64)
url="https://github.com/yukha-dw/pg_cjk_parser"
depends=(postgresql icu)
makedepends=(clang15 llvm15 git)
source=("git+https://github.com/yukha-dw/pg_cjk_parser.git")
sha256sums=('SKIP')

pkgver() {
	cd "${_pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${_pkgname}"
  make clean
}

package() {
  cd "${_pkgname}"
  make DESTDIR="$pkgdir/" install
}