From f67650f7e1d3c48e6fd123ac4c8537220d6ab053 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 21 Nov 2015 18:15:59 +0100 Subject: added build chain for arch linux --- packages/arch/Makefile | 8 ++++++++ packages/arch/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 packages/arch/Makefile create mode 100644 packages/arch/PKGBUILD (limited to 'packages') diff --git a/packages/arch/Makefile b/packages/arch/Makefile new file mode 100644 index 0000000..a0c5121 --- /dev/null +++ b/packages/arch/Makefile @@ -0,0 +1,8 @@ +package: + makepkg -cf + +install: + makepkg -i qspacestatus-master.tar.gz + +clean: + rm -f *.tar.gz *.tar diff --git a/packages/arch/PKGBUILD b/packages/arch/PKGBUILD new file mode 100644 index 0000000..552928c --- /dev/null +++ b/packages/arch/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Your Name +pkgname=qspacestatus +pkgver=0.1 +pkgrel=1 +epoch= +pkgdesc="A QT system tray icon for spaceAPI. Is your hackerspace currently open?" +arch=('i686' 'x86_64') +url="http://git.entwicklerseite.de/qspacestatus" +license=('GPL') +# groups=() +depends=(qt5-base) +makedepends=(git) +# checkdepends=() +# optdepends=() +# provides=() +# conflicts=() +# replaces=() +# backup=() +# options=() +# install= +# changelog="http://git.entwicklerseite.de/qspacestatus/log/?showmsg=1" (must be local) +#source=("$pkgname-$pkgver.tar.gz" +# "$pkgname-$pkgver.patch") +source=("http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz") +noextract=() +md5sums=(aef78b78fe34adc704391d89f893b6ff) +validpgpkeys=() + +# prepare() { +# cd "$pkgname-$pkgver" +# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch" +# } + +build() { + # cd "$pkgname-$pkgver" + # wget http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz + cd qspacestatus-master/ + qmake . + # ./configure --prefix=/usr/local + make +} + +# check() { +# cd "$pkgname-$pkgver" +# make -k check +# } + +package() { + # cd "$pkgname-$pkgver" + cd qspacestatus-master/ + make DESTDIR="$pkgdir/" install +} -- cgit v1.2.3