summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b661fea674569cf147cc9b14d431da710a05114b (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
# Maintainer: Jakob Nixdorf <flocke@shadowice.org>

pkgname=sterm
pkgver=0.1.2
pkgrel=1
pkgdesc="A simple terminal emulator based on the VTE library"
arch=(x86_64)
url="https://github.com/flocke/${pkgname}"
license=('MIT')
depends=('glib2' 'gtk3' 'pango' 'vte3')
makedepends=('cmake' 'pkg-config')
conflicts=("${pkgname}-git")
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flocke/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('bfbfc0d57b373a868553bb9b5d8b2d81')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

  cmake \
    -DCMAKE_INSTALL_PREFIX="/usr" \
    -DCMAKE_INSTALL_LIBDIR="/usr/lib" \
    .

	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	make DESTDIR="${pkgdir}/" install
}