[arch-commits] Commit in libevdev/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Mon Oct 26 21:38:17 UTC 2020
Date: Monday, October 26, 2020 @ 21:38:16
Author: andyrtr
Revision: 398839
archrelease: copy trunk to testing-x86_64
Added:
libevdev/repos/testing-x86_64/
libevdev/repos/testing-x86_64/PKGBUILD
(from rev 398838, libevdev/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: libevdev/repos/testing-x86_64/PKGBUILD (from rev 398838, libevdev/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-10-26 21:38:16 UTC (rev 398839)
@@ -0,0 +1,33 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libevdev
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Wrapper library for evdev devices"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/libevdev/"
+license=(custom:X11)
+depends=('glibc')
+makedepends=('python' 'check' 'valgrind' 'doxygen')
+source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('94ab4ee7e0854c41a491d8e4713baa95ae66dd337b41823011c0913aa1c72e8bbf8b808d5936c2ef456af794b6d3a5cd7cd0515fbd1d06dd1b7ba19275bd928f'
+ 'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list