Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D96B3782BAC for <~alpine/aports@lists.alpinelinux.org>; Wed, 4 Sep 2019 10:07:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A819925A08 for <~alpine/aports@lists.alpinelinux.org>; Wed, 4 Sep 2019 12:07:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a4rPgxzh8lJ9; Wed, 4 Sep 2019 12:07:25 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567591645; bh=ReMhyC+UHe+9VzLxGn651HGSxFPmP9NuGfJ1uSt7V6c=; h=From:To:Cc:Subject:Date; b=DoYekhGGzz8HSWJ+8E2DDaeKwETPanOic3N1D98cBxBiaAxYZLtBJlgGOIEgup7QD wUx37IhcVBxuGyJsvFtcoizR55OC9LmwJkPXTsDAbFyXop0OG6uc5c6fLwPIMDmaGm 7n5zVSqv4cRA7Pn8JDRHjj317SUx8v1NJQuIoosDlL2Cg5UoYbJn9oWRdjTzzpJtVT FCE+0/jVU1FT6KZnTcpNTyMenLNH2Ma4vWOwLY2AcpVigMqtKwUe72U3WnvlyHeV4C io1keQmdcY5QQ5+KwZSmIoARiG3i7Mu9aBNdwJnfqZEiz2jXrPDV750IvHiBYPm3LK nm1LY92QRPnLw== To: ~alpine/aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH] testing/kapman: new aport Date: Wed, 4 Sep 2019 12:07:22 +0200 Message-Id: <20190904100722.443-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit --- testing/kapman/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/kapman/APKBUILD diff --git a/testing/kapman/APKBUILD b/testing/kapman/APKBUILD new file mode 100644 index 0000000000..6f7b3fa2c9 --- /dev/null +++ b/testing/kapman/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kapman +pkgver=19.08.0 +pkgrel=0 +arch="all" +url="https://kde.org/applications/games/org.kde.kapman" +pkgdesc="A clone of the well known game Pac-Man" +license="GPL-2.0-or-later AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kconfig-dev kcrash-dev kdbusaddons-dev kdoctools-dev kconfig-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev libkdegames-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/kapman-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +option="!check" # No tests + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="82ad6875c0b15376033a5afc52f6d566707de669f78e956fa2deb975f5f0b073ced58cb46c08c93f8b05868f1438b7ac4ed74aa4522af63cf8fb32f105b2af2c kapman-19.08.0.tar.xz" -- 2.21.0