mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
710 B
Bash
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
|
|
}
|