~alpine/aports

2 2

[alpine-aports] testing/tslib: new aport

Clayton Craft <clayton@craftyguy.net>
Details
Message ID
<20170921164722.GA3@computer.craftyguy.net>
Sender timestamp
1506012442
DKIM signature
missing
Download raw message
Patch: +30 -0
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
@@ -0,0 +1,30 @@
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@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}"

build() {
    ./autogen.sh
    ./configure --prefix=/usr --sysconfdir=/etc
    make
}

check() {
    cd "${builddir}"
    make check
}

package() {
    cd "${builddir}"
    make DESTDIR="${pkgdir}" install
}
sha512sums="d96756576f2ffbc075bbe450a7a616cea9b0de97ef6ccb7868a237e7da6855af3eb47e13afd1ad4d82cf165628d5c3c45def7e07ae606a561bee5e7445cf5366  tslib-1.13.tar.xz"
-- 
2.14.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena <rnalrd@gmail.com>
Details
Message ID
<CAGG_d8AkQZF_LnqELemihgdjktL5nomwNFbHQW2SOq7kPG9X1g@mail.gmail.com>
In-Reply-To
<20170921164722.GA3@computer.craftyguy.net> (view parent)
Sender timestamp
1515593968
DKIM signature
missing
Download raw message
Hi,

sorry for the delayed feedback.

On Thu, Sep 21, 2017 at 6:47 PM, Clayton Craft <clayton@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
> @@ -0,0 +1,30 @@
> +# Contributor: Clayton Craft <clayton@craftyguy.net>
> +# Maintainer: Clayton Craft <clayton@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
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20180110232822.1b83d216@ncopa-macbook.copa.dup.pw>
In-Reply-To
<CAGG_d8AkQZF_LnqELemihgdjktL5nomwNFbHQW2SOq7kPG9X1g@mail.gmail.com> (view parent)
Sender timestamp
1515623302
DKIM signature
missing
Download raw message
On Wed, 10 Jan 2018 15:19:28 +0100
Leonardo Arena <rnalrd@gmail.com> wrote:

> Hi,
> 
> sorry for the delayed feedback.

I think it got applied and moved to main.

-nc


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)