blob: a8b99ca7f437c1061052c3f41314790a39368bd3 (
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
|
# Maintainer: Bojan Milevski <bojan@bojanmilevski.com>
pkgname="gex-git"
_pkgname="gex"
pkgver=1.0.0
pkgrel=1
pkgdesc="Install Gecko Browser extensions through the command line."
arch=("any")
url="https://github.com/bojanmilevski/gex.git"
license=("GPL3")
makedepends=("rust" "cargo" "git")
provides=("gex")
conflicts=("gex")
source=("git+https://github.com/bojanmilevski/gex.git")
sha256sums=('SKIP')
build() {
cd "$_pkgname"
cargo build --release
}
package() {
cd "$srcdir/$_pkgname"
install -Dm 755 "target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
install -Dm 755 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|