milis/talimatname/genel/p/pgadmin3/talimat

28 lines
962 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: PostgreSQL yönetimi arayüzü
# URL: http://www.pgadmin.org/
# Paketçi: milisarge
# Gerekler: wxgtk postgresql libgcrypt libxslt libxml2 libnotify
# Grup: sistem
isim=pgadmin3
surum=1.22.2
devir=2
kaynak=(https://github.com/postgres/pgadmin3/archive/REL-1_22_2.tar.gz
pgadmin3-fix-segfault.patch)
derle() {
cd $isim-REL-1_22_2
bash bootstrap
patch -p1 -i $SRC/pgadmin3-fix-segfault.patch
./configure --prefix=/usr --with-wx-version=3.0 --with-libgcrypt
make all
make DESTDIR=$PKG install
find $PKG/usr/share/pgadmin3/docs/* ! -wholename "*tr_TR*" | xargs rm -rf
rm -r "$PKG/usr/share/pgadmin3/i18n/"
install -d "$PKG/usr/share/pgadmin3/i18n/"
install -Dm644 i18n/$isim.lng "$PKG/usr/share/pgadmin3/i18n"
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"
}