[arch-commits] Commit in clipnotify/repos (3 files)
Thore Bödecker
foxxx0 at archlinux.org
Tue Aug 21 07:00:49 UTC 2018
Date: Tuesday, August 21, 2018 @ 07:00:49
Author: foxxx0
Revision: 373006
archrelease: copy trunk to community-x86_64
Added:
clipnotify/repos/community-x86_64/
clipnotify/repos/community-x86_64/PKGBUILD
(from rev 373005, clipnotify/trunk/PKGBUILD)
clipnotify/repos/community-x86_64/clipnotify-0001-add-buildflags.patch
(from rev 373005, clipnotify/trunk/clipnotify-0001-add-buildflags.patch)
--------------------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
clipnotify-0001-add-buildflags.patch | 6 ++++++
2 files changed, 38 insertions(+)
Copied: clipnotify/repos/community-x86_64/PKGBUILD (from rev 373005, clipnotify/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-08-21 07:00:49 UTC (rev 373006)
@@ -0,0 +1,32 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Chris Down <chris at chrisdown.name>
+
+pkgname=clipnotify
+pkgver=1.0.0
+pkgrel=2
+pkgdesc='Polling-free clipboard notifier'
+url='https://github.com/cdown/clipnotify'
+arch=('x86_64')
+license=('custom:Public Domain')
+depends=('libx11' 'libxfixes')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cdown/clipnotify/archive/${pkgver}.tar.gz"
+ 'clipnotify-0001-add-buildflags.patch')
+sha512sums=('b0659920d9191011399b646cba92546c8b5849dba35f863d6338d8e7159c63b040faadc519fa770249378a1361c0f2da7dfd637f20c0c7d9cccb8b1d8ee8892b'
+ '901c639bd88f495712984538112c9147bc3d8862776ed544f0e99843c8deafbe38ef6296bf1bf37323d6927f82efa14a06d8cf0ecf7d0cf1f9c38b56c11bda3c')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -N -l -i "${srcdir}/clipnotify-0001-add-buildflags.patch"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -Dm755 clipnotify "${pkgdir}/usr/bin/clipnotify"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: clipnotify/repos/community-x86_64/clipnotify-0001-add-buildflags.patch (from rev 373005, clipnotify/trunk/clipnotify-0001-add-buildflags.patch)
===================================================================
--- community-x86_64/clipnotify-0001-add-buildflags.patch (rev 0)
+++ community-x86_64/clipnotify-0001-add-buildflags.patch 2018-08-21 07:00:49 UTC (rev 373006)
@@ -0,0 +1,6 @@
+--- a/Makefile 2018-02-08 01:46:13.000000000 +0100
++++ b/Makefile 2018-08-21 08:50:40.432922686 +0200
+@@ -1,2 +1,2 @@
+ all:
+- ${CC} clipnotify.c -o clipnotify -lX11 -lXfixes
++ ${CC} ${CFLAGS} ${LDFLAGS} clipnotify.c -o clipnotify -lX11 -lXfixes
More information about the arch-commits
mailing list