X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by lists.alpinelinux.org (Postfix) with ESMTP id 6D3035C4F01 for ; Thu, 5 Apr 2018 23:40:00 +0000 (GMT) Received: by mail-pf0-f176.google.com with SMTP id f15so9564215pfn.0 for ; Thu, 05 Apr 2018 16:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=1X0iGrjQxa9A/I9dTZfnkPAYz15K0YAvSyYngIahc+g=; b=n0rQuqMIOjGE77euQdYx0YIMZW10Bvcs6ifvlgoIUpDwrLFl1bYIl7zx16ke03y7I8 s+D9zsHq30+50lmmSioNXV+2tFFjOGhygS5wNcFEh29LXRq5KML4Fip9WnR3yaKUf9BS cUnyPlmEm+n9y5FHOc9Jd9dPk1RY/VOwZTLYtYzME+H2F5BMzqBEUCQeQqOtAR45N7Ca I4TBQDj6WSfJeslI2BI8U7PIXQavitVybAzoYDt5CWBzUnvPixE+sH3KSKb3FmCbtA/J UDTnqEpNJtXcXJtz3Y6ayP1GSTh4/ZLWexw5Rh/PfAiUJO9vfToxxoAO//ZtwpudnwoE g9jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=1X0iGrjQxa9A/I9dTZfnkPAYz15K0YAvSyYngIahc+g=; b=D0ql3Fqiak3kDHxNOSwonu9GE3cGa7JuVW8UQsk4jemQp/xfTdhPTiCwhYmlJtZ8sQ aBCCLnt2oeC62eZ3gmmIaq1m8l6AnjHCG3bu6oYOzQd9xg8s77o2rhk6GSr9ZhV9X+F+ LSBP3fmkyf01D4kjuRg202YMyA61FbEYKSwQUY2NMdnX3dS3stErbPo2lVZILRKcpZo4 O7Fq+nXRaWaokYhWxVtSWWpBXdqJrV4I/2q/koqZwTzxe9CMOFyzDjRvANxcVVGXlpPM L6uCbduqUucibfZNV7P9MzSQOUsIzXVAR/Asy+wlvvw3UXejvVypKwqqC8I2yfdAy8sM llEw== X-Gm-Message-State: AElRT7H7j9iobfBhFXLdt+fuZPH1HXtNT2327ueywRHLAbYppFAZPP9R 0qEw+hYcz64lSihKmlR3s2VUV2VM X-Google-Smtp-Source: AIpwx4+W5lWAgYV0NN1B0pWhj8poXccXC+huXbv71u6F61JVCahNbE7qSUEbRUsx7sODtxVPgG4Etw== X-Received: by 10.99.121.131 with SMTP id u125mr16437675pgc.48.1522971599359; Thu, 05 Apr 2018 16:39:59 -0700 (PDT) Received: from localhost.localdomain (moose.housegordon.com. [184.68.105.38]) by smtp.gmail.com with ESMTPSA id m10sm14845502pgd.32.2018.04.05.16.39.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Apr 2018 16:39:58 -0700 (PDT) From: Assaf Gordon To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] community/datamash: move from testing Date: Thu, 5 Apr 2018 17:39:57 -0600 Message-Id: <1522971597-14372-1-git-send-email-assafgordon@gmail.com> X-Mailer: git-send-email 2.7.4 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- community/datamash/APKBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++ testing/datamash/APKBUILD | 51 --------------------------------------------- 2 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 community/datamash/APKBUILD delete mode 100644 testing/datamash/APKBUILD diff --git a/community/datamash/APKBUILD b/community/datamash/APKBUILD new file mode 100644 index 0000000..57d7bcb --- /dev/null +++ b/community/datamash/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Assaf Gordon +# Maintainer: Assaf Gordon +pkgname=datamash +pkgver=1.3 +pkgrel=0 + +pkgdesc="command-line text/math procesing" +url="https://www.gnu.org/software/datamash/" +arch="all" +license="GPL" +source="http://ftpmirror.gnu.org/datamash/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" + +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls \ + --disable-werror \ + --with-bash-completion-dir=local + + make +} + +package() { + cd "$builddir" + + make -j1 DESTDIR="$pkgdir" install + rm -rf "$pkgdir"/usr/share/datamash/examples \ + "$pkgdir"/usr/lib/charset.alias +} + +bashcomp() { + depends="" + pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + + mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/ + mv "$pkgdir"/usr/share/datamash/bash-completion.d/datamash \ + "$subpkgdir"/usr/share/bash-completion/completions/ + rm -r "$pkgdir"/usr/share/datamash/bash-completion.d || true +} + +sha512sums="3c36dd01035dc114f2fbfcb8746354e496e6c1536f7b5908cf25632d9cbaddfcd06fc26f8883ef845a6ecd85ceb5708bb7edb3d1b1c6efa273ef5ec0b758366a datamash-1.3.tar.gz" diff --git a/testing/datamash/APKBUILD b/testing/datamash/APKBUILD deleted file mode 100644 index 57d7bcb..0000000 --- a/testing/datamash/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Assaf Gordon -# Maintainer: Assaf Gordon -pkgname=datamash -pkgver=1.3 -pkgrel=0 - -pkgdesc="command-line text/math procesing" -url="https://www.gnu.org/software/datamash/" -arch="all" -license="GPL" -source="http://ftpmirror.gnu.org/datamash/$pkgname-$pkgver.tar.gz" -subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" - -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --disable-nls \ - --disable-werror \ - --with-bash-completion-dir=local - - make -} - -package() { - cd "$builddir" - - make -j1 DESTDIR="$pkgdir" install - rm -rf "$pkgdir"/usr/share/datamash/examples \ - "$pkgdir"/usr/lib/charset.alias -} - -bashcomp() { - depends="" - pkgdesc="Bash completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - - mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/ - mv "$pkgdir"/usr/share/datamash/bash-completion.d/datamash \ - "$subpkgdir"/usr/share/bash-completion/completions/ - rm -r "$pkgdir"/usr/share/datamash/bash-completion.d || true -} - -sha512sums="3c36dd01035dc114f2fbfcb8746354e496e6c1536f7b5908cf25632d9cbaddfcd06fc26f8883ef845a6ecd85ceb5708bb7edb3d1b1c6efa273ef5ec0b758366a datamash-1.3.tar.gz" -- 2.7.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---