From 4c3c99ba5a5dbaf0649c2d104916b1ed0520d9c8 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Fri, 17 Jul 2020 00:45:35 +0200 Subject: [PATCH] add: drone yml fix: rename client to webapp BUMP VERSION --- .drone.yml | 59 +++++++++++++++++++++++++++++++++++++ core-testing/PKGBUILD | 4 +-- core/PKGBUILD | 2 +- {client => webapp}/PKGBUILD | 2 +- 4 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 .drone.yml rename {client => webapp}/PKGBUILD (95%) diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2a822cf --- /dev/null +++ b/.drone.yml @@ -0,0 +1,59 @@ +--- +kind: pipeline +name: makepkg-on-arm + +workspace: + path: /drone/src + +platform: + arch: arm + +steps: +- name: download-wiringpi + image: plugins/download + settings: + source: https://github.com/WiringPi/WiringPi/archive/final_official_2.50.tar.gz + destination: wiringPi.tar.gz +- name: makepkg + image: agners/archlinuxarm + commands: + - pacman -Syu --noconfirm base-devel awk tar + - sed -i 's/(( EUID == 0 ))/(( 1 == 0 ))/g' /usr/bin/makepkg + - export CFLAGS="-marm -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s" + - tar xzf wiringPi.tar.gz + - cd WiringPi-final_official_2.50/ + - ./build + - cd ../core/ + - makepkg -s -f --cleanbuild --noconfirm + - cd ../core-testing + - makepkg -s -f --cleanbuild --noconfirm + - cd ../controller + - makepkg -s -f --cleanbuild --noconfirm + - cd ../controller-testing + - makepkg -s -f --cleanbuild --noconfirm + - cd ../webapp + - makepkg -s -f --cleanbuild --noconfirm +- name: upload_package + image: serguzim/drone-webdav + settings: + file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.* + destination: https://serguzim.me/repo/archlinux/armv6h/emgauwa/ + username: + from_secret: webdav_username + password: + from_secret: webdav_password +#--- +#kind: pipeline +#name: makepkg-on-amd64 +# +#platform: +# arch: amd64 +# +#steps: +#- name: test +# image: gcc +# commands: +# - ./configure +# - make +# - make test +# diff --git a/core-testing/PKGBUILD b/core-testing/PKGBUILD index 029165c..a27f951 100644 --- a/core-testing/PKGBUILD +++ b/core-testing/PKGBUILD @@ -9,7 +9,7 @@ url="https://git.serguzim.me/emgauwa/core" license=('unknown') groups=() depends=('glibc' 'sqlite') -makedepends=('make' 'cmake' 'gcc') +makedepends=('make' 'cmake' 'gcc' 'vim') conflicts=('emgauwa-core') backup=('etc/emgauwa/core.ini') source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz" @@ -17,7 +17,7 @@ source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz" "emgauwa-core-testing.service" "emgauwa-core-testing.sysusers" "emgauwa-core-testing.tmpfiles") -sha256sums=('f1869e952835308ca921b96c9d2160c74ed511fcd3da6c5bd47a4e87302da67a' +sha256sums=('6e983e765f1f4bd5388f77fa0cbc9a1e8f92f9834a4c63ea0c0bab4c96be4e2f' 'b6747ceee2099f6ee321af4c69e10cb9e73d444e769fc33efd257e59d55b40be' 'c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec' 'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798' diff --git a/core/PKGBUILD b/core/PKGBUILD index 796f55a..5964f55 100644 --- a/core/PKGBUILD +++ b/core/PKGBUILD @@ -9,7 +9,7 @@ url="https://git.serguzim.me/emgauwa/core" license=('unknown') groups=() depends=('glibc' 'sqlite') -makedepends=('make' 'cmake' 'gcc') +makedepends=('make' 'cmake' 'gcc' 'vim') conflicts=('emgauwa-core-testing') backup=('etc/emgauwa/core.ini') source=("https://git.serguzim.me/emgauwa/core/archive/v$pkgver.tar.gz" diff --git a/client/PKGBUILD b/webapp/PKGBUILD similarity index 95% rename from client/PKGBUILD rename to webapp/PKGBUILD index a013925..e9ca0fa 100644 --- a/client/PKGBUILD +++ b/webapp/PKGBUILD @@ -1,5 +1,5 @@ # Maintainer: Tobias Reisinger -pkgname=emgauwa-frontend +pkgname=emgauwa-webapp pkgver=0.0.1 pkgrel=1 epoch=