kmscon: use ${FREEDESKTOP_SITE}, vlicense

This commit is contained in:
Michael Gehring 2017-07-11 13:36:22 +00:00
parent 1d2e129a29
commit a880d1016f
1 changed files with 2 additions and 2 deletions

View File

@ -13,11 +13,11 @@ short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/kmscon"
distfiles="http://freedesktop.org/software/kmscon/releases/kmscon-8.tar.xz"
distfiles="${FREEDESKTOP_SITE}/kmscon/releases/kmscon-8.tar.xz"
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
vlicense COPYING
# Remove devel files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig