summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14db5cc571df3d7bc3158f425d6d87713eec7e7b (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="It is no longer supported. Install 'btrfs-desktop-notification' instead."
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"
}