blob: 5f47c2c0bf7536a2f61a575a781f67c22b70c948 (
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
38
39
40
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Doug Newgard <scimmia at archlinux dot info>
# Contributor: Andrey Mivrenik <gim at fastmail dot fm>
# Contributor: Glen Oakley <goakley123@gmail.com>
_pkgname=cool-retro-term
pkgname=$_pkgname-git
pkgver=1.0.1.r30.gdd799cf
pkgrel=1
pkgdesc='A good looking terminal emulator which mimics the old cathode display'
arch=('i686' 'x86_64')
url='https://github.com/Swordfish90/cool-retro-term'
license=('GPL3')
depends=('hicolor-icon-theme' 'qt5-quickcontrols' 'qt5-graphicaleffects' 'qmltermwidget')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git://github.com/Swordfish90/cool-retro-term.git")
sha256sums=('SKIP')
prepare() {
cd $_pkgname
sed -i '/qmltermwidget/d' cool-retro-term.pro
}
pkgver () {
cd $_pkgname
git describe --tags --long | sed -r 's/^v//;s/-RC/RC/;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
qmake
make
}
package() {
cd $_pkgname
make INSTALL_ROOT="$pkgdir" install
}
|