Subject: Re: [alpine-devel] [PATCH] main/squark: moved from testing

From: Carlo Landmeter <[email-masked]>
Date: Thu, 9 Jun 2011 14:04:35 +0200

On Thu, Jun 9, 2011 at 1:31 PM, Duane Hughes <[email-masked]> wrote:
> ---
>  main/squark/APKBUILD    |   38 ++++++++++++++++++++++++++++++++++++++
>  testing/squark/APKBUILD |   38 --------------------------------------
>  2 files changed, 38 insertions(+), 38 deletions(-)
>  create mode 100644 main/squark/APKBUILD
>  delete mode 100644 testing/squark/APKBUILD
>
> diff --git a/main/squark/APKBUILD b/main/squark/APKBUILD
> new file mode 100644
> index 0000000..0780787
> --- /dev/null
> +++ b/main/squark/APKBUILD
> @@ -0,0 +1,38 @@
> +# Maintainer: Timo TerÃs <[email-masked]>
> +pkgname=squark
> +pkgver=0.1
> +pkgrel=3
> +pkgdesc="Squark - Squid User Authentication and Rating Kit"
> +subpackages=
> +depends="haserl lua"
> +makedepends="net-snmp-dev cmph-dev lua-dev pkgconfig"
> +source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
> +       "
> +url="http://git.alpinelinux.org/cgit/squark/"
> +arch="all"
> +license=GPL-2
> +
> +prepare() {
> +       cd "$srcdir"
> +       ln -s squark-master $pkgname-$pkgver
> +       cd "$srcdir/$pkgname-$pkgver"
> +       sed -i -e 's:-Werror::' Make.rules
> +       for i in $source; do
> +               case $i in
> +               *.patch) patch -p1 -i "$srcdir"/$i || return 1
> +               esac
> +       done
> +       sed -i -e 's:lua5.1:lua:g' "$srcdir"/"$pkgname-$pkgver"/src/Makefile
> +}
> +
> +build() {
> +       cd "$srcdir/$pkgname-$pkgver"
> +       make FULL_VERSION="$pkgver-r$pkgrel" || return 1
> +}
> +
> +package() {
> +       cd "$srcdir/$pkgname-$pkgver"
> +       make FULL_VERSION="$pkgver-r$pkgrel" DESTDIR="$pkgdir" install
> +}
> +
> +md5sums="d7acc2d0f3a9ecff53b0b79eb6544eb6  squark-0.1.tar.bz2"
> diff --git a/testing/squark/APKBUILD b/testing/squark/APKBUILD
> deleted file mode 100644
> index 0780787..0000000
> --- a/testing/squark/APKBUILD
> +++ /dev/null
> @@ -1,38 +0,0 @@
> -# Maintainer: Timo TerÃs <[email-masked]>
> -pkgname=squark
> -pkgver=0.1
> -pkgrel=3
> -pkgdesc="Squark - Squid User Authentication and Rating Kit"
> -subpackages=
> -depends="haserl lua"
> -makedepends="net-snmp-dev cmph-dev lua-dev pkgconfig"
> -source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
> -       "
> -url="http://git.alpinelinux.org/cgit/squark/"
> -arch="all"
> -license=GPL-2
> -
> -prepare() {
> -       cd "$srcdir"
> -       ln -s squark-master $pkgname-$pkgver
> -       cd "$srcdir/$pkgname-$pkgver"
> -       sed -i -e 's:-Werror::' Make.rules
> -       for i in $source; do
> -               case $i in
> -               *.patch) patch -p1 -i "$srcdir"/$i || return 1
> -               esac
> -       done
> -       sed -i -e 's:lua5.1:lua:g' "$srcdir"/"$pkgname-$pkgver"/src/Makefile
> -}
> -
> -build() {
> -       cd "$srcdir/$pkgname-$pkgver"
> -       make FULL_VERSION="$pkgver-r$pkgrel" || return 1
> -}
> -
> -package() {
> -       cd "$srcdir/$pkgname-$pkgver"
> -       make FULL_VERSION="$pkgver-r$pkgrel" DESTDIR="$pkgdir" install
> -}
> -
> -md5sums="d7acc2d0f3a9ecff53b0b79eb6544eb6  squark-0.1.tar.bz2"
> --
> 1.7.4.5
>
>
>
> ---
> Unsubscribe:  [email-masked]
> Help:         [email-masked]
> ---
>
>

I moved it myself, has some issues with the patch.

-carlo

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---