[arch-commits] Commit in liquidctl/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Dec 3 23:52:02 UTC 2020
Date: Thursday, December 3, 2020 @ 23:52:01
Author: ffy00
Revision: 769834
archrelease: copy trunk to community-any
Added:
liquidctl/repos/community-any/PKGBUILD
(from rev 769833, liquidctl/trunk/PKGBUILD)
Deleted:
liquidctl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-03 23:51:52 UTC (rev 769833)
+++ PKGBUILD 2020-12-03 23:52:01 UTC (rev 769834)
@@ -1,46 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=liquidctl
-pkgver=1.4.2
-pkgrel=3
-arch=('any')
-url='https://github.com/jonasmalacofilho/liquidctl'
-license=('GPL3')
-pkgdesc='Cross-platform CLI and Python drivers for AIO liquid coolers and other devices'
-depends=('python' 'python-docopt' 'python-pyusb' 'python-hidapi')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('617510153ee84ce94bc143fa4b4a8af1d13478cfe4cdb838a9c72dd97d57a924f36a5aedf9a9eb96cc240b3d088651bc5db11ea9298e980386e7f398863705e5')
-
-build() {
- cd $pkgname-$pkgver
-
- DIST_NAME='Arch Linux'
- DIST_PACKAGE="$pkgver-$pkgrel"
-
- python setup.py build
-
- gzip liquidctl.8
-}
-
-check() {
- cd $pkgname-$pkgver
-
- mkdir runtime
- XDG_RUNTIME_DIR=runtime python -m pytest
-}
-
-package() {
- cd $pkgname-$pkgver
-
- python setup.py install --root "$pkgdir" --skip-build -O1
-
- install -Dm 644 extra/linux/71-liquidctl.rules "$pkgdir"/usr/lib/udev/rules.d/71-liquidctl.rules
-
- # Install documentation
- install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
- cp -r -a --no-preserve=ownership docs/* "$pkgdir"/usr/share/doc/$pkgname
- install -Dm 644 liquidctl.8.gz "$pkgdir"/usr/share/man/man8/liquidctl.8.gz
-}
-
Copied: liquidctl/repos/community-any/PKGBUILD (from rev 769833, liquidctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-03 23:52:01 UTC (rev 769834)
@@ -0,0 +1,46 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=liquidctl
+pkgver=1.4.2
+pkgrel=4
+arch=('any')
+url='https://github.com/jonasmalacofilho/liquidctl'
+license=('GPL3')
+pkgdesc='Cross-platform CLI and Python drivers for AIO liquid coolers and other devices'
+depends=('python' 'python-docopt' 'python-pyusb' 'python-hidapi')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('617510153ee84ce94bc143fa4b4a8af1d13478cfe4cdb838a9c72dd97d57a924f36a5aedf9a9eb96cc240b3d088651bc5db11ea9298e980386e7f398863705e5')
+
+build() {
+ cd $pkgname-$pkgver
+
+ export DIST_NAME='Arch Linux'
+ export DIST_PACKAGE="$pkgver-$pkgrel"
+
+ python setup.py build
+
+ gzip liquidctl.8
+}
+
+check() {
+ cd $pkgname-$pkgver
+
+ mkdir runtime
+ XDG_RUNTIME_DIR=runtime python -m pytest
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ python setup.py install --root "$pkgdir" --skip-build -O1
+
+ install -Dm 644 extra/linux/71-liquidctl.rules "$pkgdir"/usr/lib/udev/rules.d/71-liquidctl.rules
+
+ # Install documentation
+ install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+ cp -r -a --no-preserve=ownership docs/* "$pkgdir"/usr/share/doc/$pkgname
+ install -Dm 644 liquidctl.8.gz "$pkgdir"/usr/share/man/man8/liquidctl.8.gz
+}
+
More information about the arch-commits
mailing list