blob: d4138542dd770ac93f88f122590b08c1708863a1 (
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
|
# Maintainer: EndlessEden
_pkgname=wiwos20
pkgname=$_pkgname-git
pkgver=0.1.3ba16be
pkgrel=1
pkgdesc="S20 socket manager"
arch=('i686' 'x86_64')
url="https://git.stikonas.eu/andrius/s20"
license=('GPL')
depends=('qt5-base')
makedepends=('git')
source=("$_pkgname::git+https://git.stikonas.eu/andrius/s20.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/"$_pkgname"
echo "0.1.$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
mkdir build
cd build
cmake ..
make
}
package() {
cd "$srcdir/$_pkgname"/build
mkdir -p "$pkgdir/usr/bin/"
cp s20 "$pkgdir/usr/bin/"
cp s20-gui "$pkgdir/usr/bin/"
}
|