diff options
author | Victor Tran | 2017-08-16 22:08:23 +1000 |
---|---|---|
committer | Victor Tran | 2017-08-16 22:08:23 +1000 |
commit | a7d2600483d915f37c4ffaf2264cc13919cc0d14 (patch) | |
tree | c5a47dacc2a40de849580083bb0ba92487571cff | |
parent | 28f18c3422e5e5132a08d690fe1d10e3f0b9557d (diff) | |
download | aur-a7d2600483d915f37c4ffaf2264cc13919cc0d14.tar.gz |
Use make install to install
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 4 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = the-libs pkgdesc = Common libraries for the- applications by Victor Tran pkgver = 1.3 - pkgrel = 0 + pkgrel = 1 url = https://github.com/vicr123/the-libs arch = x86_64 license = GPL3 @@ -2,7 +2,7 @@ # Maintainer: Victor Tran <vicr12345 at gmail dot com> pkgname=the-libs pkgver=1.3 -pkgrel=0 +pkgrel=1 pkgdesc="Common libraries for the- applications by Victor Tran" arch=("x86_64") url="https://github.com/vicr123/the-libs" @@ -19,10 +19,6 @@ build() { } package() { - mkdir -p "$pkgdir/usr/lib/" - cp "$pkgname-$pkgver/"*.so* "$pkgdir/usr/lib" - mkdir -p "$pkgdir/usr/lib/qt/mkspecs/modules/" - cp "$pkgname-$pkgver/qt_thelib.pri" "$pkgdir/usr/lib/qt/mkspecs/modules/" - mkdir -p "$pkgdir/usr/include/the-libs/" - cp "$pkgname-$pkgver/"*.h "$pkgdir/usr/include/the-libs/" + cd "$pkgname-$pkgver" + make install INSTALL_ROOT=$pkgdir } |