[arch-commits] Commit in radamsa/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun May 12 18:34:24 UTC 2019
Date: Sunday, May 12, 2019 @ 18:34:24
Author: ffy00
Revision: 467057
upgpkg: radamsa 0.6-1
Modified:
radamsa/trunk/PKGBUILD
----------+
PKGBUILD | 42 +++++++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-12 18:31:21 UTC (rev 467056)
+++ PKGBUILD 2019-05-12 18:34:24 UTC (rev 467057)
@@ -1,36 +1,40 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
pkgname=radamsa
-pkgver=0.5
-pkgrel=2
+pkgver=0.6
+pkgrel=1
pkgdesc='General purpose mutation based fuzzer'
url='https://gitlab.com/akihe/radamsa'
arch=('x86_64')
license=('MIT')
depends=('glibc')
-makedepends=('owl-lisp')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aoh/radamsa/archive/v${pkgver}.tar.gz)
-sha512sums=('3fd4c9877bc16e527a78fe5fd19c9f51064a2799cc616e5528ebade667daea79f40245f54a4e841d512c18e4847c14805e617f9729fdd2a8d3689a5c3f0068f4')
+makedepends=('git' 'owl-lisp')
+source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+sha512sums=('4724454d28abc1fb5ab4485d685dd0f9a514146bba14e48159237306c984a694f8d5656191756edabb984ee6c3e53f317dea2fe1bac41d1625abf8d6877172bc')
-prepare() {
- cd ${pkgname}-${pkgver}
- sed -ri '/make get-owl/d' Makefile
- sed -ri 's|( \$\(CFLAGS\))|\1 $(LDFLAGS)|g' Makefile
-}
+#prepare() {
+# cd $pkgname-v$pkgver
+#
+# sed -ri 's|get-owl||g' Makefile
+# sed -ri 's|( \$\(CFLAGS\))|\1 $(LDFLAGS)|g' Makefile
+#}
build() {
- cd ${pkgname}-${pkgver}
- make \
- USR_BIN_OL=/usr/bin/ol \
- CFLAGS="${CFLAGS}" \
- OWL="/usr/bin/ovm /var/lib/owl-lisp/fasl/init.fasl"
+ cd $pkgname-v$pkgver
+
+ make build_radamsa \
+ CFLAGS="$CFLAGS"
+# USR_BIN_OL="/usr/bin/ovm /var/lib/owl-lisp/fasl/init.fasl"
+# USR_BIN_OL=/usr/bin/ol \
}
package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd $pkgname-v$pkgver
+
+ make DESTDIR="$pkgdir" install
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm 644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list