summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf71b45f686e2c45689c37456f909d9895fb35dd (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
# Maintainer: Onur Alp Akin <onralpakin@gmail.com>
# https://github.com/otuva/PKGBUILDs

pkgname=gnome-zoomer-git
pkgver=1.0
pkgrel=2
pkgdesc="A simple command-line utility to allow custom-increment zooming of the GNOME desktop."
arch=('x86_64' 'i686')
url="https://github.com/fgimian/gnome-zoomer"
license=('MIT')
depends=('dconf')
makedepends=('git' 'gcc')
source=("git+${url}")
md5sums=('SKIP')

build() {
    cd "gnome-zoomer"
    gcc -Wall gnome-zoomer.c $(pkg-config --libs --cflags dconf) -o gnome-zoomer
}

package() {
    cd "gnome-zoomer"
    install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
    install -Dm 755 gnome-zoomer "${pkgdir}/usr/bin/gnome-zoomer"
}