diff options
author | Linux User <se@alpine-desktop.my.domain> | 2014-10-16 19:52:25 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-17 13:52:16 +0000 |
commit | 9085b73f09d41af164193a3e0b5e22fcce80d503 (patch) | |
tree | 5d2e5fa503bf2540ddeed992a4aba407ffa24649 /testing/extra-cmake-modules/APKBUILD | |
parent | 276617c77708f50d68ba9b4c87a866399ddd7250 (diff) | |
download | aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.bz2 aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.xz |
Added KDE core packages
Diffstat (limited to 'testing/extra-cmake-modules/APKBUILD')
-rw-r--r-- | testing/extra-cmake-modules/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/extra-cmake-modules/APKBUILD b/testing/extra-cmake-modules/APKBUILD new file mode 100644 index 0000000000..0fe909597e --- /dev/null +++ b/testing/extra-cmake-modules/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=extra-cmake-modules +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Extra CMake modules" +url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" +arch="noarch" +license="LGPL" +depends= +depends_dev="py-sphinx" +makedepends="$depends_dev cmake" +install="" +subpackages="${pkgname}-doc" +source="ftp://ftp.kde.org/pub/kde/stable/frameworks/5.1.0/${pkgname}-${pkgver}.tar.xz" + +_builddir="$srcdir"/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install/fast || return 1 +} + +md5sums="005e28bb881718e3c381f8731fb70ea7 extra-cmake-modules-1.1.0.tar.xz" +sha256sums="0b460126dfc5faabb64fe4f0f9ec0d247fe75cf66c2a8a5f0d66d4a45f73e303 extra-cmake-modules-1.1.0.tar.xz" +sha512sums="76947a9ea76611e5f3593b5e60d0f2e102459d6fa85c8e7e21371bcc6d513372dfccd01c9eb021d75f9782942612d27c7ebc97c978838329c1505e2792794353 extra-cmake-modules-1.1.0.tar.xz" |