diff options
author | cosmo0920 | 2015-06-24 00:04:18 +0900 |
---|---|---|
committer | cosmo0920 | 2015-06-24 00:04:18 +0900 |
commit | 1e8d3d97fd7ce998806a476d8dc53701983317df (patch) | |
tree | fcf1cd38c49289dc097b1b7a4cc3f5ead654acd1 /PKGBUILD | |
download | aur-1e8d3d97fd7ce998806a476d8dc53701983317df.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0104158d7b06 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +pkgname=pgroonga +pkgver=0.6.0 +pkgrel=2 +pkgdesc="Fast fulltext search on PostgreSQL." +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/pgroonga/pgroonga" +license=('PostgreSQL') +source=("http://packages.groonga.org/source/pgroonga/$pkgname-$pkgver.tar.gz") +depends=('groonga' 'postgresql' 'mecab' 'mecab-ipadic') + +build() { + cd $srcdir/$pkgname-$pkgver + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR="$pkgdir" install + + 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 " NOTICE " + echo "*************************************************************" + echo "You can upgrade to 0.6.0 from 0.5.0 by override install." + echo "You don't need to re-create pgroonga indexes." + echo "In more detail, please see the PGroonga 0.6.0 release note." + echo "https://github.com/pgroonga/pgroonga/blob/master/news.md#060-2015-05-29" + echo "-------------------------------------------------------------" + echo "DROP EXTENSION pgroonga CASCADE;" + echo "CREATE EXTENSION pgroonga;" + echo "-------------------------------------------------------------" + +} +sha1sums=('d8cc00877ade01804399a0f23c58adb80184299b') |