summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzocker-1602020-08-06 00:33:22 +0200
committerzocker-1602020-08-06 00:33:22 +0200
commita69783e7d1b35163aa26eba3554d49b328775cb2 (patch)
treeba521d1d58999b0800a06eed94a98d9a6e92912c
parent4b65781d724a2bcf0f1cf98cc32fa51365fee426 (diff)
downloadaur-a69783e7d1b35163aa26eba3554d49b328775cb2.tar.gz
fix installation location
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ad0dc81c79..fb5713bd6a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bless-git
pkgdesc = High-quality, full-featured hex editor (git version)
pkgver = r181.59aaaba
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/afrantzis/bless
arch = any
license = GPL
@@ -16,4 +16,3 @@ pkgbase = bless-git
sha256sums = b114dd9045c1fc2cfbaba5ff1aa02864429916a5356db71ed8b7e740d2352e07
pkgname = bless-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 1aa850f56c4..7f0de1dc423 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=bless-git
_gitname=bless
pkgver=r181.59aaaba
-pkgrel=1
+pkgrel=2
pkgdesc="High-quality, full-featured hex editor (git version)"
arch=('any')
url="https://github.com/afrantzis/bless"
@@ -28,7 +28,7 @@ pkgver() {
prepare() {
cd ${srcdir}/${_gitname}
- meson setup build -Dprefix="${pkgdir}" -Dtests=false --buildtype=release
+ meson setup build -Dprefix=/usr -Dtests=false --buildtype=release
}
build() {
@@ -42,4 +42,9 @@ package() {
rm "${pkgdir}/bin/bless"
cp "${srcdir}/bless_bin" "${pkgdir}/bin/bless"
+
+ mkdir "${pkgdir}/usr"
+ mv "${pkgdir}/bin" "${pkgdir}/usr/bin"
+ mv "${pkgdir}/lib" "${pkgdir}/usr/lib"
+ mv "${pkgdir}/share" "${pkgdir}/usr/share"
}