From 57d6154a949731e198702d346c266ce6c8bb4877 Mon Sep 17 00:00:00 2001 From: lemmi Date: Mon, 30 Sep 2019 22:29:01 +0200 Subject: [PATCH] babeld: add version definition --- srcpkgs/babeld/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/babeld/template b/srcpkgs/babeld/template index 3cc10656aad..7707dda1712 100644 --- a/srcpkgs/babeld/template +++ b/srcpkgs/babeld/template @@ -1,7 +1,7 @@ # Template file for 'babeld' pkgname=babeld version=1.9.1 -revision=2 +revision=3 wrksrc=babeld-babeld-${version} build_style=gnu-makefile short_desc="Babel loop-avoiding distance-vector routing daemon" @@ -12,6 +12,10 @@ distfiles="https://github.com/jech/babeld/archive/babeld-${version}.tar.gz" checksum=16e18dbd9f8442feaa68487f5919a8ff8f7d95c62a9c7a3c42b7adf31bd4a9b3 patch_args="-Np1" +pre_build() { + echo ${version}-${revision} > version +} + do_install() { vbin babeld vman babeld.man babeld.8