# Maintainer: Gordian Edenhofer pkgname=fakepkg pkgver=1.42.0 pkgrel=1 pkgdesc="Tool to reassemble installed packages from its deliverd files. It comes in handy if there is no internet connection available and you have no access to an up-to-date package cache" arch=('any') license=('GPL2') url="https://github.com/Edenhofer/fakepkg" depends=('bash>=4.2' 'pacman' 'tar' 'gzip' 'sed' 'awk') source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/Edenhofer/fakepkg/archive/v${pkgver}.tar.gz") sha512sums=('a0cbced9fa2c15114881ed71915671141b91efdf265a851a35013dfa1e34be328c80f47cabcb9e04262baa1a32e6f4e47a893cc7af0eb1b2dc4190712667f4b6') package() { cd "${srcdir}/${pkgname}-${pkgver}" install -D -m755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" install -D -m644 "man/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" }