milis/talimatname/genel/s/sqlitebrowser/talimat

26 lines
780 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: SQL veritabanı Qt5 tabanlı yönetim arayüzü
# URL: http://www.sqlite.org/
# Paketçi: milisarge
# Gerekler: sqlite cmake libxkbcommon qt5
2018-07-30 09:41:09 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
isim=sqlitebrowser
surum=3.9.1
devir=1
kaynak=(https://github.com/sqlitebrowser/sqlitebrowser/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd "$SRC"/$isim-$surum
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/
}