summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD7
3 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd54debc4e91..bfcc741f4c79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = nauniq
pkgdesc = non-adjacent uniq
pkgver = 0.10
- pkgrel = 2
+ pkgrel = 3
+ url = https://metacpan.org/release/App-nauniq
arch = any
license = GPL
license = PerlArtistic
@@ -12,7 +13,7 @@ pkgbase = nauniq
depends = perl>=5.10.0
options = !emptydirs
options = purge
- source = https://search.cpan.org/CPAN/authors/id/D/DO/DOY/App-nauniq-0.10.tar.gz
+ source = https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/App-nauniq-0.10.tar.gz
sha256sums = 8c37c9baf352bf21b876c1fef76b7225e493149e15e1d74defa94047d5a0e934
pkgname = nauniq
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..218620e2fb38
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!/PKGBUILD
+!/.SRCINFO
+!/.gitignore
diff --git a/PKGBUILD b/PKGBUILD
index 31747fd578fe..b8079204ff5c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer: Stephen Gregoratto <dev@sgregoratto.me>
pkgname=nauniq
+_dist=App-nauniq
pkgver=0.10
-pkgrel=2
+pkgrel=3
pkgdesc="non-adjacent uniq"
-_dist=App-nauniq
license=('GPL' 'PerlArtistic')
+url="https://metacpan.org/release/$_dist"
arch=('any')
depends=('perl>=5.10.0')
checkdepends=('perl-file-slurper' 'perl-file-chdir' 'perl-string-shellquote' 'perl-tie-cache')
options=('!emptydirs' purge)
-source=("https://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_dist-$pkgver.tar.gz")
+source=("https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/$_dist-$pkgver.tar.gz")
sha256sums=('8c37c9baf352bf21b876c1fef76b7225e493149e15e1d74defa94047d5a0e934')
build() {