summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 995a9d0d9e19eecf2e04a63284e8cedc886cdccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Raafat Turki <raafat.turki@pm.me>

pkgname=genxrdb
pkgver=0.1
pkgrel=1
pkgdesc='a tool that generates xresources from toml'
arch=(x86_64)
url='https://github.com/RaafatTurki/genxrdb'
makedepends=(git rust)
source=("git+$url")
cksums=('SKIP')

build() {
  cargo build \
    --manifest-path "$srcdir/$pkgname/Cargo.toml" \
    --release
}

package() {
  install -Dm755 "$srcdir/$pkgname/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}