summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3094eba7de68b070f6c1b583091026b931f9c5a9 (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
# Maintainer: Zesko
pkgname=snapper-snapshot-notification-git
pkgver=r4.94a129c
pkgrel=1
pkgdesc="The Desktop notification will appear when booting into Btrfs snapshot using Overlayfs."
arch=("any")
url="https://gitlab.com/Zesko/snapper-snapshot-notification.git"
license=("GPL3")
depends=('bash' 'libnotify')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+${url})
sha1sums=("SKIP")

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

package() {
  cd "$srcdir/${pkgname%-git}"
  cp -vr usr etc "$pkgdir"
}