summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b081903f4b1e6e01089559d61b98b60ad6ba3bff (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
# Maintainer: krumelmonster <krumelmonster@zoho.com>

pkgname=squint
pkgver=0.8.3
pkgrel=1
pkgdesc="duplicates the output of a monitor into a X11 window"
arch=('x86_64')
url="https://github.com/a-ba/squint/"
license=('GPL3')
depends=('gtk3')
makedepends=('meson' 'txt2tags')
source=("https://github.com/a-ba/squint/archive/v$pkgver.tar.gz")
sha256sums=('1b5845e359a94bf93e87a8dfb0a3e3df6ad2914e47fa646275a4261a81b638d9')


prepare() {
  cd $pkgname-$pkgver
  sed -i 's/ --mask-email//' squint.1.t2t
}

build() {
  cd $pkgname-$pkgver
  mkdir build || true
  meson setup build
  ninja -C build
}

package() {
  cd $pkgname-$pkgver
  meson configure build --prefix="$pkgdir/usr/"
  ninja -C build install
}