blob: e5ad684c3cdf331805fe21f49e19153d25c3d176 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Evan Dunbar <evdunbar _ protonmail _ com>
# Maintainer: Luke Street <luke@street.dev>
_pkgname=objdiff
pkgname="$_pkgname-bin"
_pkgver=v2.3.4
pkgver=2.3.4
pkgrel=1
pkgdesc="A local diffing tool for decompilation projects"
arch=("x86_64")
url="https://github.com/encounter/$_pkgname"
license=("Apache-2.0 OR MIT")
depends=("fontconfig")
provides=("$_pkgname")
conflicts=("$_pkgname")
source=(
"$_pkgname-$pkgver::$url/releases/download/$_pkgver/objdiff-linux-x86_64"
"$_pkgname-cli-$pkgver::$url/releases/download/$_pkgver/objdiff-cli-linux-x86_64"
"$_pkgname.desktop"
"$_pkgname.png"
"LICENSE-APACHE"
"LICENSE-MIT"
)
b2sums=(
"e9dcf5501121b18716d88e647f6cf82b484aab793a39f641e91fcd5a184d3139346983958de779183c234ef9b244c86cd6337ac9643ec57bec890b3247318e90"
"0d186fd09e0a81f013ce1c272174c7073717cd438a0117b4b717348aa2b41899d92234526ca1f5847b269f0dea0bc7d29af1c7e08cf976588bdb6a12ee62b2a7"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
)
package () {
install -Dm755 "$_pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
install -Dm755 "$_pkgname-cli-$pkgver" "$pkgdir/usr/bin/$_pkgname-cli"
install -Dm644 "$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
install -Dm644 "../LICENSE-APACHE" -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 "../LICENSE-MIT" -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|