blob: 48e36629e236080e1368203da171721a28a60e92 (
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
|
# Maintainer: Victor Tran <vicr12345 at gmail dot com>
pkgname=theslate
pkgver=0.2
pkgrel=0
pkgdesc="Text Editor with code highlighting support"
arch=("x86_64")
url="https://github.com/vicr123/theslate"
license=('GPL3')
depends=('xdg-utils' 'qt5-base')
makedepends=('git')
source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/theslate.git')
md5sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
qmake
make
}
package() {
mkdir -p "$pkgdir/usr/bin"
cp "$pkgname-$pkgver/theslate" "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/applications"
cp "$pkgname-$pkgver/theslate.desktop" "$pkgdir/usr/share/applications"
mkdir -p "$pkgdir/usr/share/icons"
cp "$srcdir/$pkgname-$pkgver/icons/icon.svg" "$pkgdir/usr/share/icons/theslate.svg"
}
|