diff options
author | Christian Rapp | 2016-05-29 00:11:01 +0200 |
---|---|---|
committer | Christian Rapp | 2016-05-29 00:11:01 +0200 |
commit | e1d36f59c557cfd70ed423f444f9c289c55e91a8 (patch) | |
tree | f59f52a49aad9a8ea1e4846616ef2798b5fef150 | |
download | aur-e1d36f59c557cfd70ed423f444f9c289c55e91a8.tar.gz |
Initial package release
Signed-off-by: Christian Rapp <0x2a@posteo.org>
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..02d862e8e51a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = labpowerqt + pkgdesc = LabPowerQt is a GUI application written in C++/Qt to control lab power supplies + pkgver = 0.1.1 + pkgrel = 1 + url = https://github.com/crapp/labpowerqt + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake>=3.1 + depends = gcc + depends = qt5-base + depends = qt5-serialport + depends = ealogger>=0.8.1 + source = https://github.com/crapp/labpowerqt/archive/v0.1.1.tar.gz + md5sums = ee23d7fa84de15d57556938ac4a08cec + +pkgname = labpowerqt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aea7a81093fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Christian <0x2a@posteo.org> +pkgname=labpowerqt +pkgver=0.1.1 +pkgrel=1 +epoch= +pkgdesc="LabPowerQt is a GUI application written in C++/Qt to control lab power supplies" +arch=('i686' 'x86_64') +url="https://github.com/crapp/labpowerqt" +license=('GPL') +groups=() +depends=('gcc' 'qt5-base' 'qt5-serialport' 'ealogger>=0.8.1') +makedepends=('cmake>=3.1') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/crapp/$pkgname/archive/v$pkgver.tar.gz") +noextract=() +md5sums=('ee23d7fa84de15d57556938ac4a08cec') +validpgpkeys=() + +prepare() { + ls -al + cd "$pkgname-$pkgver" + mkdir build +} + +build() { + cd "$pkgname-$pkgver/build" + cmake -DCMAKE_BUILD_TYPE=Release -DEALOGGER_EXTERNAL=OFF -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" ../ + make +} + +check() { + cd "$pkgname-$pkgver/build" +} + +package() { + cd "$pkgname-$pkgver/build" + make install +} |