Skip to content

Instantly share code, notes, and snippets.

@jabashque
Created October 22, 2022 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jabashque/40f3667b68a14c3ccb293493d82a4780 to your computer and use it in GitHub Desktop.
Save jabashque/40f3667b68a14c3ccb293493d82a4780 to your computer and use it in GitHub Desktop.
warpd
# Maintainer mattf <matheusfillipeag@gmail.com>
pkgname=warpd-git
pkgver=r226.daf11b2
_gitname=warpd
pkgrel=1
pkgdesc="A small X program which facilitates recursively warping the pointer to different quadrants on the screen."
url="https://github.com/rvaiya/warpd"
license=('MIT')
arch=('x86_64')
md5sums=('SKIP')
makedepends=(git)
depends=(libxinerama libxft libxfixes libxtst libx11)
provides=(warpd)
source=("git+$url")
pkgver() {
cd ${_gitname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build () {
cd ${_gitname}
make
}
package () {
cd ${_gitname}
install -Dm755 -t "${pkgdir}"/usr/bin bin/warpd
mkdir -p "${pkgdir}"/usr/share/man/man1/
install -Dm644 -t "${pkgdir}"/usr/share/man/man1/ usr/local/share/man/man1/warpd.1.gz
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment