blob: 6ae364fc3a68e412802fd3b91d4e511b472cb505 (
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
|
# Maintainer: Jameson Pugh <imntreal@gmail.com>
pkgname=xsr-git
pkgver=r133.6c87ad2
pkgrel=1
pkgdesc="X Steps Recorder is a clone of PSR for Windows, a program that allows users to make a recording of all of the steps they took."
arch=(any)
url='https://github.com/nonnymoose/xsr'
license=(MIT)
depends=('perl' 'scrot')
optionaldeps=('imagemagick'
'xdotool')
conflicts=(xsr)
provides=(xsr)
source=('git+https://github.com/nonnymoose/xsr.git')
sha256sums=('SKIP')
_gitname='xsr'
pkgver() {
cd "${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
install -v -m755 -d "${pkgdir}/usr/bin"
install -v -m755 -d "${pkgdir}/usr/share/xsr"
install -v -m755 -d "${pkgdir}/usr/share/doc/xsr"
install -v -m755 xsr "${pkgdir}/usr/share/xsr/"
install -v -m644 {xsr.css,xsr-min.css} "${pkgdir}/usr/share/xsr/"
install -v -m644 README.md "${pkgdir}/usr/share/doc/xsr/"
ln -s /usr/share/xsr/xsr "${pkgdir}/usr/bin/xsr"
}
# vim:set ts=2 sw=2 et:
|