summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorzocker-1602020-08-06 01:20:41 +0200
committerzocker-1602020-08-06 01:20:41 +0200
commitd137b0cee2e7361ec88f10e12323ebab67eef086 (patch)
treec7c2502b5b36d57d998cba237a718d5888fdbfc2 /PKGBUILD
parenta69783e7d1b35163aa26eba3554d49b328775cb2 (diff)
downloadaur-bless-git.tar.gz
cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 5 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7f0de1dc423..82037ee01bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=bless-git
_gitname=bless
pkgver=r181.59aaaba
-pkgrel=2
+pkgrel=3
pkgdesc="High-quality, full-featured hex editor (git version)"
arch=('any')
url="https://github.com/afrantzis/bless"
@@ -16,10 +16,8 @@ license=('GPL2')
depends=('gtk-sharp-2' 'mono')
conflicts=('bless')
makedepends=('libxslt' 'meson')
-source=("git://github.com/afrantzis/bless.git"
- "bless_bin")
-sha256sums=('SKIP'
- 'b114dd9045c1fc2cfbaba5ff1aa02864429916a5356db71ed8b7e740d2352e07')
+source=("git://github.com/afrantzis/bless.git")
+sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}/
@@ -28,7 +26,7 @@ pkgver() {
prepare() {
cd ${srcdir}/${_gitname}
- meson setup build -Dprefix=/usr -Dtests=false --buildtype=release
+ meson setup build -Dprefix=/usr -Dtests=false --buildtype=release
}
build() {
@@ -38,13 +36,5 @@ build() {
package() {
cd ${srcdir}/${_gitname}
- ninja -C build install
-
- 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"
+ DESTDIR="${pkgdir}" ninja -C build install
}