blob: 45e805ac497cced936dd580db85c091801ce09c0 (
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
40
41
|
# Maintainer: Rolv Apneseth <rolv.apneseth@gmail.com>
pkgname=rofi-games
pkgver=v1.10.5.r0.g70c9199
pkgrel=1
pkgdesc='A rofi plugin which adds a mode to list available games for launch along with their box art'
arch=('x86_64')
url='https://github.com/rolv-apneseth/rofi-games'
license=('GPL v2.0')
depends=('rofi')
makedepends=('rust' 'git' 'just')
source=("$pkgname::git+https://github.com/rolv-apneseth/$pkgname.git")
md5sums=('SKIP')
options=(!debug !lto)
pkgver()
{
cd "$pkgname"
git describe --long --tags --abbrev=7 | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare()
{
cd "$pkgname"
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build()
{
cd "$pkgname"
PKGDIR="$pkgdir" just build
}
package()
{
cd "$pkgname"
PKGDIR="$pkgdir" just install
}
|