Date: Sunday, March 15, 2020 @ 11:52:52 Author: felixonmars Revision: 597848
archrelease: copy trunk to community-any Added: laptop-detect/repos/community-any/PKGBUILD (from rev 597847, laptop-detect/trunk/PKGBUILD) Deleted: laptop-detect/repos/community-any/PKGBUILD ----------+ PKGBUILD | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-15 11:52:34 UTC (rev 597847) +++ PKGBUILD 2020-03-15 11:52:52 UTC (rev 597848) @@ -1,28 +0,0 @@ -# Maintainer: Sébastien Luttringer -# Contributor: Bartek Piotrowski <barthal...@gmail.com> -# Contributor: cromo <da...@klej.net> - -pkgname=laptop-detect -pkgver=0.13.8 -pkgrel=2 -pkgdesc='Attempts to detect a laptop' -arch=('any') -url='https://packages.qa.debian.org/l/laptop-detect.html' -license=('BSD') -depends=('dmidecode') -source=("http://ftp.debian.org/debian/pool/main/l/$pkgname/${pkgname}_$pkgver.tar.xz") -md5sums=('c289fdffe6954701eced7c51c704dd0c') - -prepare() { - cd $pkgname-$pkgver - sed -e "s/@VERSION@/$pkgver/g" < laptop-detect.in > laptop-detect -} - -package() { - cd $pkgname-$pkgver - install -D -m755 laptop-detect "$pkgdir/usr/bin/laptop-detect" - install -D -m644 laptop-detect.8 "$pkgdir/usr/share/man/man8/laptop-detect.8" - install -D -m644 debian/copyright "$pkgdir/usr/share/licenses/$pkgname/copyright" -} - -# vim:set ts=2 sw=2 et: Copied: laptop-detect/repos/community-any/PKGBUILD (from rev 597847, laptop-detect/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-15 11:52:52 UTC (rev 597848) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Sébastien Luttringer +# Contributor: Bartek Piotrowski <barthal...@gmail.com> +# Contributor: cromo <da...@klej.net> + +pkgname=laptop-detect +pkgver=0.14 +pkgrel=1 +pkgdesc='Attempts to detect a laptop' +arch=('any') +url='https://packages.qa.debian.org/l/laptop-detect.html' +license=('BSD') +depends=('dmidecode' 'sh') +source=("https://gitlab.com/debiants/laptop-detect/-/archive/debian/$pkgver/laptop-detect-debian-$pkgver.tar.bz2") +sha512sums=('43f6e26efabe153a75317571714b8cca66b877bb1c1237bcdfbe1804205e50bf51e016f76913ef8beebc309dcb5373eec6a49f711f92f41bd5c6e76c60815b61') + +prepare() { + cd $pkgname-debian-$pkgver + sed -e "s/@VERSION@/$pkgver/g" < laptop-detect.in > laptop-detect +} + +package() { + cd $pkgname-debian-$pkgver + install -Dm755 laptop-detect -t "$pkgdir"/usr/bin/ + install -Dm644 laptop-detect.1 -t "$pkgdir"/usr/share/man/man1/ + install -Dm644 debian/copyright -t "$pkgdir"/usr/share/licenses/$pkgname/ +} + +# vim:set ts=2 sw=2 et: