From 6af35de72374f3d4a48a577ea48072d580ac508e Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 9 Dec 2019 21:37:03 -0600 Subject: [PATCH] a10disp: Template clean up and add License file Signed-off-by: Nathan Owens --- srcpkgs/a10disp/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/a10disp/template b/srcpkgs/a10disp/template index 76df977152..b852ec2395 100644 --- a/srcpkgs/a10disp/template +++ b/srcpkgs/a10disp/template @@ -4,15 +4,14 @@ reverts=20150416_1 version=20140314 revision=2 _commit=7525cff0366c6feb0142873705687b368b26bedb +archs="armv7l" wrksrc="$pkgname-$_commit" +makedepends="fbset sun7i-kernel-headers" +depends="fbset" short_desc="Utility to change the display mode of Allwinner A10/13/20 devices" maintainer="Orphaned " license="MIT" homepage="https://github.com/hglm/a10disp" - -archs="armv7l" -makedepends="fbset sun7i-kernel-headers" -depends="fbset" distfiles="$homepage/archive/$_commit.tar.gz" checksum=96f30ee6466c904361e917e06123ed6dbe344db39c865d4b3184012bea15bcc1 @@ -20,7 +19,10 @@ do_build() { cp ${XBPS_CROSS_BASE}/usr/src/sun7i-kernel*/include/video/sunxi_disp_ioctl.h . $CC $CFLAGS $LDFLAGS -Wall a10disp.c -o a10disp } + do_install() { vbin a10disp vdoc README + sed -e '4,22 !d' a10disp.c > ${wrksrc}/LICENSE + vlicense LICENSE }