summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJerry2021-12-05 23:20:09 +0800
committerJerry2021-12-05 23:20:09 +0800
commite09b8e24e57aca2ac758e39428c92ed74feb4a78 (patch)
treeec701dac2c9899bec580a3dd99750cd46eff4e2b /PKGBUILD
parenta44dda873d9620d2e9f35c4acb77f30c5783746b (diff)
downloadaur-ideapad-cm.tar.gz
update 0.1.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 8 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3bbd9c1f7fe..a40d5a7141d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,16 @@
-# Maintainer: TildeHacker <contact@tildehacker.com>
+# Maintainer: Jerry Xiao <aur@mail.jerryxiao.cc>
+# Contributor: TildeHacker <contact@tildehacker.com>
+
pkgname=ideapad-cm
-pkgver=0.1.0
+pkgver=0.1.1
pkgrel=1
-epoch=
pkgdesc="A script to enable/disable battery conservation mode in Lenovo Ideapad laptops."
arch=('any')
-url="https://github.com/tildehacker/ideapad-conservation-mode"
+url="https://github.com/archlinux-jerry/ideapad-conservation-mode"
license=('GPL3')
-groups=()
-depends=()
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
-source=("git://github.com/tildehacker/ideapad-conservation-mode.git")
-noextract=()
-md5sums=('SKIP')
-validpgpkeys=()
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
+sha256sums=('2c904bffcbaed7354a21111ecd10a508c606ca368b1cbbc92d279c028f864ddd')
package() {
- cd "ideapad-conservation-mode"
- install -D "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 -t "$pkgdir/usr/bin/" "ideapad-conservation-mode-${pkgver}/${pkgname}"
}