desktop/kio-gopher/PKGBUILD
2018-10-20 05:32:25 +02:00

34 lines
710 B
Bash

pkgname=kio-gopher
pkgver=0.1.99
pkgrel=1
pkgdesc="A Kioslave for the Gopher protocol"
arch=('x86_64')
url="https://userbase.kde.org/Kio_gopher"
license=('GPL')
depends=('plasma-framework')
makedepends=('cmake' 'extra-cmake-modules' 'kdoctools')
options=('docs')
replaces=('kio_gopher')
provides=('kio_gopher')
conflicts=('kio_gopher')
source=("https://download.kde.org/unstable/kio-gopher/${pkgname}-${pkgver}.tar.xz")
md5sums=('fb0afc1e3430158962c4d843bae385f5')
prepare() {
cd $srcdir
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR=$pkgdir install
}