milis/talimatname/genel/p/pgadmin3/talimat

27 lines
963 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: PostgreSQL administration gui frontend
2017-06-11 12:28:31 +02:00
# URL: http://www.pgadmin.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: wxgtk postgresql libgcrypt libxslt libxml2 libnotify
2017-06-11 12:28:31 +02:00
2017-10-28 14:10:23 +02:00
isim=pgadmin3
surum=1.22.2
devir=1
kaynak=(https://github.com/postgres/pgadmin3/archive/REL-1_22_2.tar.gz
2017-06-11 12:28:31 +02:00
pgadmin3-fix-segfault.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-REL-1_22_2
2017-06-11 12:28:31 +02:00
bash bootstrap
patch -p1 -i $SRC/pgadmin3-fix-segfault.patch
2017-10-28 14:10:23 +02:00
./configure --prefix=/usr --with-wx-surum=3.0 --with-libgcrypt
2017-06-11 12:28:31 +02:00
make all
make DESTDIR=$PKG install
find $PKG/usr/share/pgadmin3/docs/* ! -wholename "*tr_TR*" | xargs rm -rf
2017-06-11 21:49:10 +02:00
rm -r "$PKG/usr/share/pgadmin3/i18n/"
install -d "$PKG/usr/share/pgadmin3/i18n/"
2017-10-28 14:10:23 +02:00
install -Dm644 i18n/$isim.lng "$PKG/usr/share/pgadmin3/i18n"
2017-06-11 21:49:10 +02:00
cp -r i18n/tr_TR "$PKG/usr/share/pgadmin3/i18n/"
install -Dm644 "pgadmin/include/images/pgAdmin3.png" "$PKG/usr/share/pgadmin3/pgadmin3.png"
install -Dm644 "pkg/pgadmin3.desktop" "$PKG/usr/share/applications/pgadmin3.desktop"
2017-06-11 12:28:31 +02:00
}