# Maintainer: Luca Weiss pkgname=kde1-kdebase pkgver=1.1.2 pkgrel=4 pkgdesc="Historical copy of the base applications module of KDE 1, adapted to compile on modern systems (circa. 2016)" arch=('i686' 'x86_64') url="https://github.com/KDE/kde1-kdebase" license=("GPL2") groups=("kde1") depends=("qt1" "kde1-kdelibs" "libjpeg" "libtiff" "perl") makedepends=("cmake") _commit="444ba45c273384ddbb4257027bdd60ec09fda13e" source=("https://github.com/KDE/$pkgname/archive/$_commit.zip") sha256sums=('29fcd478d9b2b568f426f719059e8ae9f9161d843b0ca122f8ae1f0b6e76aeaf') #prepare() { # cd $srcdir/$pkgname-$_commit # patch -p1 kfm/pics/CMakeLists.txt < $srcdir/kfm_CMakeLists.patch #} build() { cd $srcdir/$pkgname-$_commit mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_LIBRARY_PATH='/opt/kde1/lib' make } package() { cd $srcdir/$pkgname-$_commit cd build make DESTDIR="$pkgdir/" install cd .. install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING } # vim:set ts=2 sw=2 et: