mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
733 B
Bash
29 lines
733 B
Bash
pkgname=qelectrotech
|
|
pkgver=0.61
|
|
pkgrel=1
|
|
pkgdesc="An electric diagram editor"
|
|
arch=('x86_64')
|
|
url="http://qelectrotech.tuxfamily.org/"
|
|
license=('GPL2')
|
|
depends=('qt5-svg' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info' 'xdg-utils')
|
|
source=("http://download.tuxfamily.org/qet/tags/20180823/${pkgname}-${pkgver}-src.tar.gz"
|
|
'install-dir.patch')
|
|
sha1sums=('fb9f995704495e68a4f5a9af82b9cb8fe17c2170'
|
|
'c70db275c75f9e6c15a1bfc7da81c4a20e32ebe8')
|
|
|
|
prepare() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}-src
|
|
patch -p1 < ${srcdir}/install-dir.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}-src
|
|
qmake-qt5
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}-src
|
|
make INSTALL_ROOT=${pkgdir} install
|
|
}
|