27 lines
822 B
Bash
27 lines
822 B
Bash
# Template file for 'grabc'
|
|
pkgname=grabc
|
|
reverts=1.1_1
|
|
version=1.0.2
|
|
revision=1
|
|
create_wrksrc=yes
|
|
build_wrksrc="${pkgname}-${version}"
|
|
build_style=gnu-makefile
|
|
makedepends="libX11-devel"
|
|
short_desc="Identify color of a pixel on the screen"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://www.muquit.com/muquit/software/grabc/grabc.html"
|
|
# Remove the license file on next version bump as it will be included.
|
|
distfiles="https://github.com/muquit/grabc/archive/v${version}.tar.gz
|
|
https://raw.githubusercontent.com/muquit/grabc/b9e4316/LICENSE.txt"
|
|
checksum="a3e4d2e5b11ef63e8928a630418fc8dfe1327585adc48aef8d0f13b2d78d5ea0
|
|
9691605fc9d14f0924faf49367189f9c5bc50e4872987b637b18db77960b1536"
|
|
|
|
pre_build() {
|
|
vsed -e 's|/usr/local|/usr|' -i Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../LICENSE.txt
|
|
}
|