diff options
author | adabru | 2018-11-08 19:18:15 +0100 |
---|---|---|
committer | adabru | 2018-11-08 19:18:15 +0100 |
commit | c2edf7c8418576928bd21695dd2850a39a21b5cc (patch) | |
tree | 652aff9f06da8ed750e80e9688e9d7e574d587ff | |
parent | 8d569be340b7c5bf996bc38f8fd6bf53427a34a6 (diff) | |
download | aur-c2edf7c8418576928bd21695dd2850a39a21b5cc.tar.gz |
ninja install
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -20,14 +20,12 @@ pkgver() { build() { cd "$srcdir/${pkgname%-git}" - meson build + meson --prefix=/usr build cd build ninja } package() { - cd "$srcdir/${pkgname%-git}" - install -Dm755 build/src/wl-copy "$pkgdir/usr/bin/wl-copy" - install -Dm755 build/src/wl-paste "$pkgdir/usr/bin/wl-paste" - install -Dm644 -t "$pkgdir/usr/share/man/man1" data/wl-*.1 + cd "$srcdir/${pkgname%-git}/build" + DESTDIR=${pkgdir} ninja install } |