diff options
author | xyz <gky44px1999@gmail.com> | 2022-06-14 17:43:26 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-06-14 17:43:26 -0700 |
commit | 2f4ba92b55e1385713c0480375f277a03a9ffe56 (patch) | |
tree | b6af1868a9d8fcda5bd7d06a8363634d21ba1004 /x86_64/xcross |
init
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 +} |