diff options
Diffstat (limited to 'x86_64/xcross')
-rw-r--r-- | x86_64/xcross/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x86_64/xcross/PKGBUILD b/x86_64/xcross/PKGBUILD new file mode 100644 index 0000000..88e312d --- /dev/null +++ b/x86_64/xcross/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Xiao Pan <gky44px1999@gmail.com> + +pkgname=xcross-git +pkgver=r10.a17c6c9 +pkgrel=1 +pkgdesc='X11 draw a cross at cursor across screen ' +arch=('any') +url='https://github.com/flyxyz123/xcross' +license=('GPL3') +depends=('libx11') +source=("git+$url") +b2sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${pkgname%-git}" + make +} + +package() +{ + cd "$srcdir/${pkgname%-git}" + make PREFIX=/usr DESTDIR="$pkgdir/" install +} |