Projekty/Wsparcie > POLAUR
KDE Applications 14.12
pavbaranov:
LIII. Kdegames-granatier (KDE4.14)
Uwaga: proszę wpierw zbudować paczkę libkdegames podaną w pkt XIX
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdegames-granatier
pkgver=14.12.0
pkgrel=1
pkgdesc="A clone of the classic Bomberman game"
url="http://kde.org/applications/games/granatier/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/granatier-${pkgver}.tar.xz")
sha1sums=('6ffbd1b04abdc5fa69872fab6d03b26e6f5bdc85')
build() {
mkdir build
cd build
cmake ../granatier-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdegames-granatier.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
LIV. Kdeaccessibility-Jovie (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeaccessibility-jovie
pkgver=14.12.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='A text to speech application'
url='http://kde.org/applications/utilities/jovie/'
license=('GPL' 'FDL')
groups=('kde' 'kdeaccessibility')
depends=('kdebase-runtime' 'speech-dispatcher')
makedepends=('cmake' 'automoc4')
replaces=('kdeaccessibility-kttsd')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/jovie-${pkgver}.tar.xz")
sha1sums=('5a1633c33181836e72ef4d7d10233b29c91a2b19')
build() {
mkdir build
cd build
cmake ../jovie-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
kdeaccessibility-jovie.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
pavbaranov:
LV. Kdeaccessibility-kaccessible (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeaccessibility-kaccessible
pkgver=14.12.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='Provides accessibility services like focus tracking and a screenreader'
url='https://projects.kde.org/projects/kde/kdeaccessibility/kaccessible'
license=('GPL' 'FDL')
groups=('kde' 'kdeaccessibility')
depends=('kdelibs' 'speech-dispatcher')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/applications/${pkgver}/src/kaccessible-${pkgver}.tar.xz")
sha1sums=('8873088ff7b3c88268b232e32abdd0ec9c00267a')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../kaccessible-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/build
make DESTDIR=$pkgdir install
}
--- Koniec kodu ---
pavbaranov:
LVI. Kdegames-Kajongg (KDE4.14)
Uwaga, przed zbudowaniem tej paczki, budujemy paczkę libkmahjongg z pkt LVII.
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdegames-kajongg
pkgver=14.12.0
pkgrel=1
pkgdesc="The ancient Chinese board game for 4 players"
url="http://kde.org/applications/games/kajongg/"
arch=('any')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'python2-twisted' 'kdebindings-python2' 'libkmahjongg')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kajongg-${pkgver}.tar.xz")
sha1sums=('dce075f81445d2deb75e1fb9789c43ead799675d')
prepare() {
mkdir build
cd kajongg-${pkgver}
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
src/{deferredutil,kajongg,kajonggserver,server}.py
}
build() {
cd build
cmake ../kajongg-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DINSTALL_KAJONGG=TRUE
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdegames-kajongg.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
LVII. libkmahjongg (KDE4.14)
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=libkmahjongg
pkgver=14.12.0
pkgrel=1
pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles"
url="https://projects.kde.org/projects/kde/kdegames/libmahjongg"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
replaces=('kdegames-libkmahjongg')
conflicts=('kdegames-libkmahjongg')
source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('8a065a50d2d8d51fafa5e6df9365fa854e3f59e4')
prepare() {
mkdir build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
pavbaranov:
LVIII. Kdeedu-Kalzium (KDE4.14)
PKGBUILD
--- Kod: ---# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeedu-kalzium
pkgver=14.12.0
pkgrel=1
pkgdesc="Periodic Table of Elements"
url="http://kde.org/applications/education/kalzium/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'avogadro' 'ocaml' 'chemical-mime-data')
makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'eigen2')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
sha1sums=('541be5a4cb9dd23c87609d924c693c20f9f807fc')
build() {
mkdir build
cd build
cmake ../kalzium-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
--- Koniec kodu ---
kdeedu-kalzium.install
--- Kod: ---post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- Koniec kodu ---
Nawigacja
[#] Następna strona
Idź do wersji pełnej