Mail archive
alpine-aports

Re: [alpine-aports] testing/tslib: new aport

From: Leonardo Arena <rnalrd_at_gmail.com>
Date: Wed, 10 Jan 2018 15:19:28 +0100

Hi,

sorry for the delayed feedback.

On Thu, Sep 21, 2017 at 6:47 PM, Clayton Craft <clayton_at_craftyguy.net>
wrote:

> https://github.com/kergoth/tslib
> tslib is a touchscreen access library
> ---
> testing/tslib/APKBUILD | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 testing/tslib/APKBUILD
>
> diff --git a/testing/tslib/APKBUILD b/testing/tslib/APKBUILD
> new file mode 100644
> index 0000000000..e1c56237f3
> --- /dev/null
> +++ b/testing/tslib/APKBUILD
> _at__at_ -0,0 +1,30 @@
> +# Contributor: Clayton Craft <clayton_at_craftyguy.net>
> +# Maintainer: Clayton Craft <clayton_at_craftyguy.net>
> +pkgname=tslib
> +pkgver=1.13
> +pkgrel=0
> +pkgdesc="Touchscreen Access Library"
> +arch="all"
> +url="https://github.com/kergoth/tslib"
> +license="GPL2"
> +makedepends="autoconf automake libtool linux-headers"
> +source="https://github.com/kergoth/tslib/releases/download/
> ${pkgver}/${pkgname}-${pkgver}.tar.xz"
> +subpackages="$pkgname-dev $pkgname-doc"
> +builddir="${srcdir}/${pkgname}-${pkgver}"
>

Only "$srcdir" needs to be between brackets. Please omit also "{}".


> +
> +build() {
> + ./autogen.sh
>

This needs to be moved into prepare().


> + ./configure --prefix=/usr --sysconfdir=/etc
> + make
> +}
> +
> +check() {
> + cd "${builddir}"
>

"{}" aren't needed.



> + make check
> +}
> +
> +package() {
> + cd "${builddir}"
>

Same here.

Thanks

/eo



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Jan 10 2018 - 15:19:28 UTC