blob: 2927f08f718a743ba71855ded93d1c083e04c0dc (
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
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Hiroshi Hatake <cosmo0920.wp[at]gmail.com>
pkgname=pgroonga
pkgver=3.2.0
pkgrel=1
pkgdesc="Fast fulltext search on PostgreSQL."
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/pgroonga/pgroonga"
license=('custom:PostgreSQL')
source=("http://packages.groonga.org/source/pgroonga/$pkgname-$pkgver.tar.gz"
"http://packages.groonga.org/source/pgroonga/$pkgname-$pkgver.tar.gz.asc")
depends=('groonga')
makedepends=('postgresql' 'clang' 'llvm')
validpgpkeys=(2701F317CFCCCB975CADE9C2624CF77434839225)
build() {
cd $srcdir/$pkgname-$pkgver
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
echo "-------------------------------------------------------------"
echo "After install this package,"
echo "please execute following commands to make fully installation."
echo "-------------------------------------------------------------"
echo "sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test'"
echo "sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'"
echo "-------------------------------------------------------------"
echo "*************************************************************"
echo "You need to upgrade EXTENSION pgroonga CASCADE, "
echo "In more detail, please refer to the PGroonga site's upgrading instructions:"
echo "http://pgroonga.github.io/upgrade/"
# Remove needless dotfiles
rm -rf "$pkgdir/.*"
}
sha1sums=('f2fd70a75554a1b1427d202d1a79e2f2a028ac1c'
'SKIP')
sha256sums=('ce75cdb74935f9db499293997ed962f44146b741bc7f2131af69677ba653c6be'
'SKIP')
|