Projekty/Wsparcie > POLAUR
QMapShack
pavbaranov:
Jak zwykle nowa wersja niesie garść poprawek i nowości. Więcej http://kde-apps.org/content/show.php/QMapShack?content=166972
PKGBUILD
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=1.2.1
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
"https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('e9aba8f77f1717fc297d6c7cc40cfad9'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
pavbaranov:
Kolejna, 1.2.2, wersja:
PKGBUILD
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=1.2.2
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
"https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('cc618900aba75cedb256ea08ea4df35c'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
pavbaranov:
Wersja 1.3.0 przynosi całkiem sporą ilość zmian: http://kde-apps.org/content/show.php/QMapShack?content=166972
PKGBUILD
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=1.3.0
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
"https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('f1d16bf227108edd6219341ea1352d1d'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
Nawigacja
Idź do wersji pełnej