Projekty/Wsparcie > POLAUR
QMapShack
pavbaranov:
To taki prezencik, abyście się na Święta nie pogubili, a już na pewno wracając z Sylwestra ;)
QMapShack to program do zarządzania mapami (online i offline): http://kde-apps.org/content/show.php/QMapShack
I tym razem będzie nieco więcej:
PKGBUILD:
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=0.9.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' 'hicolor-icon-theme' 'desktop-file-utils' 'qt5-tools' 'gdal')
makedepends=('cmake')
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=('16a6f29948ae4cce5fc6f2f9074ff90c'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
qmapshack.install:
--- Kod: ---post_install() {
update-desktop-database -q
update-mime-database usr/share/mime > /dev/null
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
Zawartość kodu zapisujemy w jakimś katalogu pod nazwami, jakie widnieją nad danym kodem. Następnie w tym katalogu wydajemy polecenie:
--- Kod: ---makepkg -sirc
--- Koniec kodu ---
(owe "r", które się tutaj pojawia jest o tyle istotne, że PKGBUILD ściągnie nieco zależności, które są mu konieczne wyłącznie do budowania.
pavbaranov:
PKGBUILD dla wersji 0.9.1:
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=0.9.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' '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=('5e2e3e059888ba756b70bb5a058c3af9'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
pavbaranov:
Wersja 0.10.0
PKGBUILD
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=0.10.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' '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=('33083ae1c2cf057ddf859359b44b86ab'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
pavbaranov:
Wersja 0.11.0
PKGBUILD
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=0.11.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=('b13ada8cd92279f2915a90f20b83d7a0'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
pavbaranov:
PKGBUILD dla wersji 0.12.0:
--- Kod: ---# Maintainer: pavbaranov
pkgname=qmapshack
pkgver=0.12.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=('186d009f69e700c262ae2e144c8078a1'
'5cd70770f14c9f17869570a347abfb1d')
build() {
cd ${pkgname}-${pkgver}
# lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
Nawigacja
[#] Następna strona
Idź do wersji pełnej