diff options
Diffstat (limited to 'unmaintained/extra-cmake-modules/APKBUILD')
-rw-r--r-- | unmaintained/extra-cmake-modules/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/unmaintained/extra-cmake-modules/APKBUILD b/unmaintained/extra-cmake-modules/APKBUILD new file mode 100644 index 0000000000..0fe909597e --- /dev/null +++ b/unmaintained/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" |