diff options
author | actionless | 2016-01-05 02:09:17 +0100 |
---|---|---|
committer | actionless | 2016-01-05 02:09:24 +0100 |
commit | 62fe34a3a0881451c1febd49986f8f02c054b35a (patch) | |
tree | 3b190d430d1b32657ffe163b952e439a4f835cf7 | |
parent | d296f6d5165492463d5cd25f7a208b4897db1050 (diff) | |
download | aur-62fe34a3a0881451c1febd49986f8f02c054b35a.tar.gz |
use 'make install'
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 5 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = libui-git pkgdesc = A portable GUI library for C - pkgver = r1878.6a5997c + pkgver = r1914.84b392d pkgrel = 1 url = https://github.com/andlabs/libui arch = i686 @@ -2,7 +2,7 @@ _pkgname=libui pkgname=${_pkgname}-git -pkgver=r1878.6a5997c +pkgver=r1914.84b392d pkgrel=1 pkgdesc='A portable GUI library for C' arch=('i686' 'x86_64') @@ -26,8 +26,7 @@ build() { } package() { - install -Dm644 "$srcdir"/$pkgname/ui.h \ - "$pkgdir/usr/include/ui.h" - install -Dm644 "$srcdir"/$pkgname/out/libui.so \ - "$pkgdir/usr/lib/libui.so" + cd $pkgname + mkdir -p $pkgdir/usr/{lib,include} + make DESTDIR="$pkgdir/" install } |