blob: 7ece5d247d81f7f55133399d68341c58524ddff3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Your Name <tom3451617@gmail.com>
pkgname=pickpx
pkgver=0.1
pkgrel=1
epoch=
pkgdesc="Get the color of a specific pixel on the screen via the command line (often used together with xdotool)."
arch=('x86_64')
url=""
license=('Unlicense')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('pickpx.c' 'LICENSE')
noextract=()
sha256sums=('487141138ec1a9cba67ec2eb5993066a2af00071b49468345f1b7f367fd28ab6'
'b5065838cbac452dfc855ba6e6e031481ad2c68406f70d21ead9321374653e6c')
validpgpkeys=()
build() {
gcc pickpx.c -o pickpx -lX11
}
package() {
mkdir -p ${pkgdir}/usr/share/licenses/$pkgname
mkdir -p ${pkgdir}/usr/bin
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm755 pickpx ${pkgdir}/usr/bin
}
|