[arch-commits] Commit in redkite/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Aug 4 21:44:32 UTC 2019
Date: Sunday, August 4, 2019 @ 21:44:31
Author: dvzrv
Revision: 497379
archrelease: copy trunk to community-x86_64
Added:
redkite/repos/community-x86_64/
redkite/repos/community-x86_64/PKGBUILD
(from rev 497378, redkite/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: redkite/repos/community-x86_64/PKGBUILD (from rev 497378, redkite/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-08-04 21:44:31 UTC (rev 497379)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=redkite
+pkgver=0.6
+pkgrel=2
+pkgdesc="A small free software and cross-platform GUI toolkit"
+arch=('x86_64')
+url="https://github.com/quamplex/redkite"
+license=('GPL3')
+depends=('cairo')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/quamplex/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('2b74163ac3e66cdba39daee81c646676b9d32a57821dd851a077f04eafa5e076c2fa2e54b46cb0e1d6506d840c527868e15d863dec64271ee436f497185853c2')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ mkdir -pv build
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ (
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ ..
+ make VERBOSE=1
+ )
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ (
+ cd build
+ make DESTDIR="$pkgdir/" install
+ )
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list