blob: a943129b4a96eeb57a487d6c0680a279da72612c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
pkgname=hexerator
pkgver=0.3.0
pkgrel=1
pkgdesc="Versatile GUI hex editor focused on binary file exploration and aiding pattern recognition"
url="https://github.com/crumblingstatue/hexerator"
arch=("x86_64")
license=("MIT" "APACHE")
depends=("freetype2" "gcc-libs" "glibc" "libglvnd" "libx11" "libxcursor" "libxrandr" "systemd-libs")
makedepends=("rustup" "cmake")
options=("!lto")
source=("$pkgname-$pkgver.tar.gz::https://github.com/crumblingstatue/$pkgname/archive/v$pkgver.tar.gz")
sha512sums=('df6c6f58429a5c52b0ee0d2d485f8ac58c176f18d5fe930a974085a47b72290b13e6f0447e9637ecbd37980d0228164a25f5df1852532c2cd69d4683f5c57323')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release --locked
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm 644 "LICENSE-APACHE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APACHE"
install -Dm 644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|