rmpkg: check-sieve
This commit is contained in:
parent
f490d11fa0
commit
1f96e0d949
2 changed files with 0 additions and 62 deletions
|
@ -1,15 +0,0 @@
|
||||||
pkgbase = check-sieve
|
|
||||||
pkgdesc = Syntax checker for Sieve scripts
|
|
||||||
pkgver = 0.6
|
|
||||||
pkgrel = 2
|
|
||||||
url = https://github.com/dburkart/check-sieve
|
|
||||||
arch = i686
|
|
||||||
arch = x86_64
|
|
||||||
license = MIT
|
|
||||||
checkdepends = python
|
|
||||||
depends = gcc-libs
|
|
||||||
source = https://github.com/dburkart/check-sieve/archive/check-sieve-0.6.tar.gz
|
|
||||||
b2sums = ceb747f94385f4f5ed883e6503aab1bde82ece472cf41c16f8bdfb039d72068ec80cc2f1f3b3c0374947d2e785504295dbcda252d1d9df165c354eff509ae3ff
|
|
||||||
|
|
||||||
pkgname = check-sieve
|
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
# Maintainer: Geoffrey Frogeye <geoffrey+aur@frogeye.fr>
|
|
||||||
# Contributor: George Rawlinson <grawlinson@archlinux.org>
|
|
||||||
|
|
||||||
pkgname=check-sieve
|
|
||||||
pkgver=0.7
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Syntax checker for Sieve scripts"
|
|
||||||
arch=('x86_64')
|
|
||||||
url="https://github.com/dburkart/check-sieve"
|
|
||||||
license=('MIT')
|
|
||||||
depends=('gcc-libs')
|
|
||||||
checkdepends=('python')
|
|
||||||
source=("$url/archive/$pkgname-$pkgver.tar.gz")
|
|
||||||
sha512sums=('8e54c0a288d419911ed7c85add778746e0c06953c687bf4316c08c8a13d4cbced8116b8c26ae37a601dd99c6110a515f41e299a33bccb9952ea63909066b0e8d')
|
|
||||||
b2sums=('56e35e6c19a52aafed3b4cbc26cf202740056917d770d507b7765f913a6667a5002faef34f47f329aab9734bd811a023cb3904fb2cb6ab32939ba389fdff9fb6')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
# rename extracted folder for convenience
|
|
||||||
mv "$pkgname-$pkgname-$pkgver" "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
# ensure LDFLAGS are passed to compiler
|
|
||||||
sed -i '/\t$(CXX).*/s/$/ $(LDFLAGS)/' "$pkgname-$pkgver/Makefile"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
make test
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
|
|
||||||
make INSTALL_PREFIX="$pkgdir/usr" install
|
|
||||||
|
|
||||||
# license
|
|
||||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
|
||||||
|
|
||||||
# fix incorrect permissions on library
|
|
||||||
chmod 644 "$pkgdir/usr/lib/libchecksieve.a"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue