[arch-commits] Commit in laptop-detect/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 15 11:52:35 UTC 2020
Date: Sunday, March 15, 2020 @ 11:52:34
Author: felixonmars
Revision: 597847
upgpkg: laptop-detect 0.14-1
Modified:
laptop-detect/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-15 11:52:20 UTC (rev 597846)
+++ PKGBUILD 2020-03-15 11:52:34 UTC (rev 597847)
@@ -1,28 +1,29 @@
-# Maintainer: Sébastien Luttringer
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer
# Contributor: Bartek Piotrowski <barthalion at gmail.com>
# Contributor: cromo <dawid at klej.net>
pkgname=laptop-detect
-pkgver=0.13.8
-pkgrel=2
+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')
-source=("http://ftp.debian.org/debian/pool/main/l/$pkgname/${pkgname}_$pkgver.tar.xz")
-md5sums=('c289fdffe6954701eced7c51c704dd0c')
+depends=('dmidecode' 'sh')
+source=("https://gitlab.com/debiants/laptop-detect/-/archive/debian/$pkgver/laptop-detect-debian-$pkgver.tar.bz2")
+sha512sums=('43f6e26efabe153a75317571714b8cca66b877bb1c1237bcdfbe1804205e50bf51e016f76913ef8beebc309dcb5373eec6a49f711f92f41bd5c6e76c60815b61')
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname-debian-$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"
+ 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:
More information about the arch-commits
mailing list