blob: 81b1f4beb04b70c946f2845abbe060b4d0fc51fa (
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: Adam Perkowski <adas1per@protonmail.com>
# Contributor: Doug Newgard <scimmia at archlinux dot info>
_pkgname=qmltermwidget
pkgname=$_pkgname-git
pkgrel=1
pkgver=0.2.0.r192.g6322802
pkgdesc='QML port of qtermwidget - development version'
arch=('i686' 'x86_64')
url="https://github.com/Swordfish90/$_pkgname"
license=('GPL-2.0')
depends=('qt5-declarative')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/Swordfish90/$_pkgname")
sha512sums=(SKIP)
pkgver () {
cd "$srcdir/$_pkgname"
git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
qmake
make
}
package() {
cd "$srcdir/$_pkgname"
make -j1 INSTALL_ROOT="$pkgdir" install
}
|