summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d0d50d9b9cc..f8a4bd650e2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,22 @@
# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
pkgname=reflector-nomirrorlist
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Use reflector-generated mirrorlist by default"
arch=('any')
url="https://aur.archlinux.org/packages/reflector-nomirrorlist/"
-license=('unknown')
+license=('custom:WTFPL')
depends=('pacman' 'reflector')
provides=('pacman-mirrorlist')
conflicts=('pacman-mirrorlist')
replaces=('pacman-mirrorlist')
install="${pkgname}.install"
-backup=('etc/pacman.d/mirrorlist')
-source=()
+source=('LICENSE')
package() {
- # we do nothing, everything is in .install
- return 0
+ # mirrorlist generated in .install post_install function
+
+ # license
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+md5sums=('66b76d3df5917f4b5827e7c36d864e10')