[testing] -> [extra] 're2c-3.0-1' move

master
artoo 10 months ago
parent deb9b85fdb
commit 1f73aa18b9
  1. 4
      x86_64/extra/PKGBUILD
  2. 33
      x86_64/testing/PKGBUILD

@ -3,7 +3,7 @@
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=re2c
pkgver=2.2
pkgver=3.0
pkgrel=1
arch=(x86_64)
depends=(gcc-libs)
@ -13,7 +13,7 @@ pkgdesc='A tool for generating C-based recognizers from regular expressions'
url='https://re2c.org'
license=('public domain')
source=(re2c-$pkgver.tar.gz::https://github.com/skvadrik/re2c/archive/$pkgver.tar.gz)
sha1sums=('40b4091281d3cf1addf7b12fa26199104e51668c')
sha1sums=('ce178a2f31ca4ba266be0ba6f1aa346ef764b799')
build() {
cd $pkgname-$pkgver

@ -1,33 +0,0 @@
# Maintainer:
# Contributor: nut543 <kfs1@online.no>
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=re2c
pkgver=3.0
pkgrel=1
arch=(x86_64)
depends=(gcc-libs)
makedepends=(cmake)
checkdepends=(python)
pkgdesc='A tool for generating C-based recognizers from regular expressions'
url='https://re2c.org'
license=('public domain')
source=(re2c-$pkgver.tar.gz::https://github.com/skvadrik/re2c/archive/$pkgver.tar.gz)
sha1sums=('ce178a2f31ca4ba266be0ba6f1aa346ef764b799')
build() {
cd $pkgname-$pkgver
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
cd $pkgname-$pkgver
cmake --build build --target check
}
package() {
cd $pkgname-$pkgver
DESTDIR="$pkgdir" cmake --install build
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
Loading…
Cancel
Save