diff options
author | xyz <gky44px1999@gmail.com> | 2022-06-14 18:03:13 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-06-14 18:03:13 -0700 |
commit | 19a12eccbf27324e2084cc1653a1ef7f40c26c01 (patch) | |
tree | 20d9ba9810c09f3a07185afa50e7e6a193294fdf /x86_64/xcross-git/PKGBUILD | |
parent | 812e80a80c305f7a1bc4310c8b4d196277cdd126 (diff) |
rename dirs
Diffstat (limited to 'x86_64/xcross-git/PKGBUILD')
-rw-r--r-- | x86_64/xcross-git/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x86_64/xcross-git/PKGBUILD b/x86_64/xcross-git/PKGBUILD new file mode 100644 index 0000000..0a5064f --- /dev/null +++ b/x86_64/xcross-git/PKGBUILD @@ -0,0 +1,31 @@ +# 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') +makedepends=('git') +provides=('xcross') +conflicts=('xcross') +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 +} |