summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 741b2638c99ed6e310ac4d5ad11a7ae6b5d7dcfd (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
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: ftsell <aur@finn-thorben.me>
pkgname=pop-shell-shortcuts-git
pkgver=r37.9280535
pkgrel=2
pkgdesc="Application for displaying and demoing Pop Shell shortcuts"
arch=('x86_64')
url="https://github.com/pop-os/shell-shortcuts"
license=('GPL')
depends=('gtk3')
makedepends=('git' 'rust')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/pop-os/shell-shortcuts.git')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/shell-shortcuts"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/shell-shortcuts"
    make prefix=/usr
}

package() {
    cd "$srcdir/shell-shortcuts"
    make prefix=/usr DESTDIR="$pkgdir" install
}