diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xf86-input-keyboard/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/xf86-input-keyboard/APKBUILD b/x11/xf86-input-keyboard/APKBUILD index b9299b07ed..4c5fc14f79 100644 --- a/x11/xf86-input-keyboard/APKBUILD +++ b/x11/xf86-input-keyboard/APKBUILD @@ -10,13 +10,15 @@ depends= makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev" source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver - export GCC_SPECS=/usr/share/gcc/hardenednoznow.specs - + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure --prefix=/usr || return 1 make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |