Fix prepare

This commit is contained in:
Ivan Bushchik 2022-05-10 00:41:47 +03:00
parent 62f0fdb7b6
commit 629c81e624
2 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,7 @@
pkgbase = plaincontrolcenter pkgbase = plaincontrolcenter
pkgdesc = plainDE control center pkgdesc = plainDE control center
pkgver = 0.1.3 pkgver = 0.1.3
pkgrel = 1 pkgrel = 2
url = https://plainde.org url = https://plainde.org
arch = x86_64 arch = x86_64
arch = i686 arch = i686

View file

@ -2,7 +2,7 @@
pkgname=plaincontrolcenter pkgname=plaincontrolcenter
pkgver=0.1.3 pkgver=0.1.3
pkgrel=1 pkgrel=2
pkgdesc="plainDE control center" pkgdesc="plainDE control center"
arch=(x86_64 i686 arm armv6h armv7h aarch64) arch=(x86_64 i686 arm armv6h armv7h aarch64)
url="https://plainde.org" url="https://plainde.org"
@ -12,10 +12,6 @@ makedepends=(git)
source=("git+https://github.com/plainDE/plainControlCenter.git#tag=${pkgver}") source=("git+https://github.com/plainDE/plainControlCenter.git#tag=${pkgver}")
sha256sums=('SKIP') sha256sums=('SKIP')
prepare () {
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/plainDE
}
build() { build() {
cd $srcdir/plainControlCenter cd $srcdir/plainControlCenter
qmake qmake
@ -23,6 +19,7 @@ build() {
} }
package() { package() {
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/plainDE
cp $srcdir/plainControlCenter/plainControlCenter $pkgdir/usr/bin/ cp $srcdir/plainControlCenter/plainControlCenter $pkgdir/usr/bin/
} }