sqlitebrowser.paketlendi

This commit is contained in:
milisbir 2017-08-01 18:21:02 +03:00
parent f667ebb7e6
commit cb658d2df1
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Description: SQL veritabanı Qt5 tabanlı yönetim arayüzü
# URL: http://www.sqlite.org/
# Packager: milisarge
# Depends on: sqlite cmake libxkbcommon qt5
name=sqlitebrowser
version=3.9.1
release=1
source=(https://github.com/sqlitebrowser/sqlitebrowser/archive/v$version.tar.gz::$name-$version.tar.gz)
build () {
cd "$SRC"/$name-$version
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/
}