summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof AS (3ED)2019-12-09 05:09:54 +0100
committerKrzysztof AS (3ED)2019-12-09 05:09:54 +0100
commitaffa36fffb73bb9ee35f9e040cfbe4c907223af7 (patch)
tree15b787235c92bd7e698b1fe8aa47a4ded8943e05
parentbe096c9018868593c12ec76fe34aef6a2a2909dc (diff)
downloadaur-affa36fffb73bb9ee35f9e040cfbe4c907223af7.tar.gz
fix broken links; remove old AUR hacks
-rw-r--r--PKGBUILD32
1 files changed, 17 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 826d5fce263..762f8b0dc66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,13 @@
-# Contributor: 3ED <kas1987@o2.pl>
+# Maintainer: 3ED <krzysztofas /at/ protonmail>
+pkgname=(
+ poc
+ mp3cue mp3cut mp3length
+ pob-2250 pob-3119 pob-fec
+ poc-2250 poc-3119 poc-fec poc-http
+ pogg-http)
pkgbase=poc
-pkgname=poc
-true && pkgname=(poc mp3cue mp3cut mp3length pob-2250 pob-3119 pob-fec poc-2250 poc-3119 poc-fec poc-http pogg-http)
+pkgdesc='a mp3 command-line editing and streaming tools'
pkgver=0.4.1
pkgrel=7
arch=('i686' 'x86_64')
@@ -10,23 +15,24 @@ license=('custom')
depends=('glibc')
groups=('poc')
makedepends=('flex' 'bison')
-url="http://www.bl0rg.net/software/poc/"
-source=("http://www.bl0rg.net/software/poc/$pkgbase-$pkgver.tar.gz"
- "patch-x86_64.diff")
+url='https://bl0rg.net/software/poc/'
+source=('https://bl0rg.net/software/poc/poc-0.4.1.tar.gz'
+ 'patch-x86_64.diff')
sha256sums=('a8f8be5281b80f9bb1dd0d330ec59e608d557351f6e6ad5b3d14932f7b952d29'
'1f02a2d2db9bc2d00beeef4099df3276bc80e603c5b5aa45969d8d25f919c2b4')
-DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u')
-
+prepare() {
+ test "$CARCH" = "x86_64" \
+ && cd "$srcdir/$pkgbase-$pkgver" \
+ && patch -Np0 < "$srcdir/patch-x86_64.diff"
+}
build() {
cd "$srcdir/$pkgbase-$pkgver"
-
- [ "$CARCH" = "x86_64" ] && patch -Np0 < "$srcdir/patch-x86_64.diff"
-
make
}
+
package_mp3cue() {
_pkgname=mp3cue
pkgdesc="cut a MP3 file according to a CUE file"
@@ -135,7 +141,3 @@ package_poc() {
depends=(mp3cue mp3cut mp3length pob-2250 pob-3119 pob-fec poc-2250 poc-3119 poc-fec poc-http pogg-http)
pkgdesc="a mp3 command-line editing and streaming tools (metapackage)"
}
-
-# AUR
-depends=('glibc')
-pkgdesc="poc includes mp3cue, a mp3 CUE cutter, and mp3cut, a mp3 command-line editing and streaming tool"