[arch-commits] Commit in clipnotify/trunk (2 files)

Thore Bödecker foxxx0 at archlinux.org
Tue Aug 21 07:00:46 UTC 2018


    Date: Tuesday, August 21, 2018 @ 07:00:45
  Author: foxxx0
Revision: 373005

upgpkg: clipnotify 1.0.0-2

initial build after import from aur

Added:
  clipnotify/trunk/clipnotify-0001-add-buildflags.patch
Modified:
  clipnotify/trunk/PKGBUILD

--------------------------------------+
 PKGBUILD                             |   14 +++++++++++---
 clipnotify-0001-add-buildflags.patch |    6 ++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-21 07:00:25 UTC (rev 373004)
+++ PKGBUILD	2018-08-21 07:00:45 UTC (rev 373005)
@@ -7,12 +7,19 @@
 pkgdesc='Polling-free clipboard notifier'
 url='https://github.com/cdown/clipnotify'
 arch=('x86_64')
-license=('Public Domain')
+license=('custom:Public Domain')
 depends=('libx11' 'libxfixes')
 
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cdown/clipnotify/archive/${pkgver}.tar.gz")
-sha512sums=('b97f80f5a64c352ed7372b9625b7ba67d37dcb87cea8693d6016e9a89892bbf10a3b4bb9fcc4db93a4da6cb0b3e40ee527bdf5f5419e9505c6acc0fb954be759')
+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
@@ -21,4 +28,5 @@
 package() {
     cd "${srcdir}/${pkgname}-${pkgver}"
     install -Dm755 clipnotify "${pkgdir}/usr/bin/clipnotify"
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

Added: clipnotify-0001-add-buildflags.patch
===================================================================
--- clipnotify-0001-add-buildflags.patch	                        (rev 0)
+++ clipnotify-0001-add-buildflags.patch	2018-08-21 07:00:45 UTC (rev 373005)
@@ -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