-
-
Save jabashque/40f3667b68a14c3ccb293493d82a4780 to your computer and use it in GitHub Desktop.
warpd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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