diff options
author | Pablo Arias | 2018-08-26 14:41:49 +0200 |
---|---|---|
committer | Pablo Arias | 2018-08-26 14:41:49 +0200 |
commit | c6d8ffd7f02eda041cdc13afe625ef78a18f00c5 (patch) | |
tree | 17086fc8b361aea3100ad863c0fb5e420b711b1c | |
parent | 53b403b9a816d2a7f77306dc8495b83451ef796e (diff) | |
download | aur-c6d8ffd7f02eda041cdc13afe625ef78a18f00c5.tar.gz |
Installing custom license
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,5 +14,7 @@ source=("https://github.com/jarun/nnn/archive/v${pkgver//_/-}.tar.gz") sha256sums=('7ba298a55a579640fe0ae37f553be739957da0c826f532beac46acfb56e2d726') package() { - make -C "${pkgname}-$pkgver" DESTDIR="${pkgdir}" PREFIX="/usr" install + pkg_loc="${pkgname}-${pkgver}" + make -C $pkg_loc DESTDIR="${pkgdir}" PREFIX="/usr" install + install -Dm644 "$pkg_loc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |