Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Added PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
Real-Gecko committed Jul 20, 2016
1 parent 53b2b16 commit f31c476
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions build/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Contributor: ReNoM <renom@list.ru>
# Contributor: ava1ar <mail(dot)avatar(at)gmail(dot)com>
# Contributor: RealGecko <realgecko@realgecko.com>

pkgname=kde-cdemu-manager-kf5
pkgver=0.6.0
pkgrel=1
pkgdesc="KDE CDEmu Manager is a simple frontend for CDEmu.KF5 version"
arch=('i686' 'x86_64')
url="https://github.com/Real-Gecko/KDE-CDEmu"
license=('GPL')
depends=('cdemu-daemon>=2.0')
provides=('kde-cdemu-manager')
conflicts=('kde-cdemu-manager')
makedepends=('cmake>=3.3' 'kdoctools' 'qt5-tools' 'extra-cmake-modules')
source=(https://github.com/Real-Gecko/KDE-CDEmu/archive/$pkgver.tar.gz)
md5sums=('0d5ffa51c73e591ba2959ef6a42b7941')

build() {
cd $srcdir/KDE-CDEmu-$pkgver
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DSYSCONF_INSTALL_DIR=/etc \
-DBUILD_TESTING=OFF \
..

make
}

package()
{
cd $srcdir/KDE-CDEmu-$pkgver/build
make DESTDIR=$pkgdir install
}

0 comments on commit f31c476

Please sign in to comment.