summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb3d4c6b6b30f30ad122ab5147770391f2f637bf (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
# Maintainer: esrh : email at esrh at netc dot eu
pkgname=ames
pkgver=0.1.3
pkgrel=1
pkgdesc="Update anki cards with desktop audio and images"
arch=('any')
url="https://github.com/eshrh/ames"
license=('GPL3')
depends=('pulseaudio' 'ffmpeg' 'maim' 'xdotool' 'libnotify')
source=("ames::git+https://github.com/Ajatt-Tools/ames")
md5sums=('SKIP')
install="ames.install"


pkgver() {
	cd "$pkgname"
	git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd "$srcdir/$pkgname"
  	install -Dm755 ames.sh "$pkgdir"/usr/bin/ames
	install -Dm644 config "$pkgdir"/usr/share/ames/config
}