diff options
author | kleintux | 2022-06-06 20:30:10 +0200 |
---|---|---|
committer | kleintux | 2022-06-06 20:30:10 +0200 |
commit | eb07b94c6831c78090353f9bb50ce7bb68fdf6e6 (patch) | |
tree | 77463998f8b6f80cba7f3871b8388a2e840a9a5a /PKGBUILD | |
parent | c9d9bb051e39c8254351550b7d909ba13e9fea19 (diff) | |
download | aur-consoletype.tar.gz |
adopted. fixed dependencies. updated to 0.15
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,23 +1,23 @@ -# Maintainer: dianlujitao <dianlujitao at gmail dot com> +# Maintainer: <reg-archlinux AT klein DOT tuxli DOT ch> +# Contributor: dianlujitao <dianlujitao at gmail dot com> pkgname=consoletype _pkgname=gentoo-functions pkgdesc="print type of the console connected to standard input" -pkgver=0.12 +pkgver=0.15 pkgrel=1 arch=('i686' 'x86_64' 'armv7h') url="https://packages.gentoo.org/packages/sys-apps/gentoo-functions" license=('GPL') -makedepends=('gcc' 'git') -source=("git+https://github.com/gentoo/gentoo-functions") -sha256sums=('SKIP') +source=("https://github.com/gentoo/${_pkgname}/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('07857be94b12d984388efb3cce06034d1e26c516614e63f5bd5d01f4081d17d9') build() { - cd ${srcdir}/${_pkgname} + cd ${srcdir}/${_pkgname}-${pkgver} make } package() { - cd ${srcdir}/${_pkgname} - install -Dm755 ${srcdir}/${_pkgname}/consoletype ${pkgdir}/usr/bin/consoletype - install -Dm644 ${srcdir}/${_pkgname}/consoletype.1 ${pkgdir}/usr/share/man/man1/consoletype.1 + cd ${srcdir}/${_pkgname}-${pkgver} + install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + install -Dm644 ${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1 } |