# Maintainer: Luca Weiss pkgname=kde1-kdeutils pkgver=1.1.2 pkgrel=1 pkgdesc="Historical copy of the utility applications module of KDE 1, adapted to compile on modern systems (circa. 2016)" arch=('i686' 'x86_64') url="https://github.com/KDE/kde1-kdeutils" license=("GPL2") groups=("kde1") depends=("qt1" "kde1-kdelibs") makedepends=("cmake") _commit="1c14d5cdf59803a8f41165e296f37837e102696d" source=("https://github.com/KDE/$pkgname/archive/$_commit.tar.gz") sha256sums=('7f07ed51ef70cfaeead5caef34dd96de173978c6c0d5babaeb785a1b2c4308ae') prepare() { mkdir -p build } build() { cd build cmake ../$pkgname-$_commit -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_LIBRARY_PATH='/opt/kde1/lib' make } package() { make -C build DESTDIR="$pkgdir/" install cd $pkgname-$_commit install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING } # vim:set ts=2 sw=2 et: