milis/talimatname/genel/s/sqlitebrowser/talimat

25 lines
765 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: SQL veritabanı Qt5 tabanlı yönetim arayüzü
2017-08-01 17:21:02 +02:00
# URL: http://www.sqlite.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: sqlite cmake libxkbcommon qt5
2017-08-01 17:21:02 +02:00
2017-10-28 14:10:23 +02:00
isim=sqlitebrowser
surum=3.9.1
devir=1
2017-08-01 17:21:02 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/sqlitebrowser/sqlitebrowser/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
2017-08-01 17:21:02 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd "$SRC"/$isim-$surum
2017-08-01 17:21:02 +02:00
sed -i 's|Icon=.*|Icon=sqlitebrowser|' distri/sqlitebrowser.desktop
sed -i \
-e 's|DB Browser for SQLite|sqlitebrowser|g' \
CMakeLists.txt
cmake -DUSE_QT5=TRUE -DCMAKE_INSTALL_PREFIX=/usr .
make
make install DESTDIR="$PKG"
install -Dm0644 distri/sqlitebrowser.desktop "$PKG"/usr/share/applications/sqlitebrowser.desktop
install -dm0755 "$PKG"/usr/share/icons/
install -m0644 images/sqlitebrowser.svg "$PKG"/usr/share/icons/
}