[arch-commits] Commit in laptop-detect/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:02:28 UTC 2018
Date: Friday, November 9, 2018 @ 22:02:28
Author: felixonmars
Revision: 404820
archrelease: copy trunk to community-staging-any
Added:
laptop-detect/repos/community-staging-any/
laptop-detect/repos/community-staging-any/PKGBUILD
(from rev 404819, laptop-detect/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: laptop-detect/repos/community-staging-any/PKGBUILD (from rev 404819, laptop-detect/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 22:02:28 UTC (rev 404820)
@@ -0,0 +1,28 @@
+# Maintainer: 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
+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:
More information about the arch-commits
mailing list