diff options
author | Greyson Christoforo | 2020-09-04 13:08:37 +0100 |
---|---|---|
committer | Greyson Christoforo | 2020-09-04 13:08:37 +0100 |
commit | f7f332f1ccd7a9046ad212cce9da0d8623aa58e6 (patch) | |
tree | b1f427023f89991036604ef6f447fc0895b62bca | |
parent | f1db3b9fac2edd11af54d6188761a10dd8e0d91a (diff) | |
download | aur-f7f332f1ccd7a9046ad212cce9da0d8623aa58e6.tar.gz |
fix gitlab build
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 7 insertions, 9 deletions
@@ -27,8 +27,8 @@ pkgbase = kicad-rc conflicts = kicad-git conflicts = kicad-scripting-git conflicts = kicad-bzr - source = https://gitlab.com/kicad/code/-/archive/5.1.6/kicad-5.1.6.tar.gz - md5sums = 6ed24719829ed8e9f6dabb3c5b97f48a + source = https://gitlab.com/kicad/code/kicad/-/archive/5.1.6/kicad-5.1.6.tar.gz + md5sums = 3fadd95d0aeb0cb85a7d0f69cf3724dd pkgname = kicad-rc @@ -15,18 +15,16 @@ optdepends=('kicad-symbols' 'kicad-packages3d' 'kicad-footprints' 'kicad-templat conflicts=('kicad' 'kicad-git' 'kicad-scripting-git' 'kicad-bzr') provides=('kicad') makedepends=('clang') -_github_project='kicad-source-mirror' -source=("https://gitlab.com/kicad/code/-/archive/${_pkgver}/kicad-${_pkgver}.tar.gz") -md5sums=('6ed24719829ed8e9f6dabb3c5b97f48a') - +source=("https://gitlab.com/kicad/code/kicad/-/archive/${_pkgver}/kicad-${_pkgver}.tar.gz") +md5sums=('3fadd95d0aeb0cb85a7d0f69cf3724dd') prepare() { - cd "${srcdir}/${_github_project}-${_pkgver}" + cd "${srcdir}/kicad-${_pkgver}" #curl https://github.com/KiCad/kicad-source-mirror/commit/5685174808f5ca973e916a10f9f93660ee4dc4f2.patch | patch -p1 } build() { - cd "${srcdir}/${_github_project}-${_pkgver}" + cd "${srcdir}/kicad-${_pkgver}" mkdir -p build cd build cmake .. -DCMAKE_BUILD_TYPE=Release \ @@ -45,7 +43,7 @@ build() { } package() { - cd "${srcdir}/${_github_project}-${_pkgver}" + cd "${srcdir}/kicad-${_pkgver}" cd build make DESTDIR="${pkgdir}" install } |