diff options
author | nbebaw | 2020-11-11 11:51:57 +0100 |
---|---|---|
committer | nbebaw | 2020-11-11 11:51:57 +0100 |
commit | 6fee2d9245a277012236736c5e18df72b05a7031 (patch) | |
tree | 52728470cf530b2dbaa2ab2c0c67a8d0ab6c52a9 | |
download | aur-6fee2d9245a277012236736c5e18df72b05a7031.tar.gz |
add v1.4
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..08ed3caaf106 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = boostchanger-appimage + pkgdesc = Control your CPU Turbo Boost with this App + pkgver = 1.4 + pkgrel = 0 + url = https://gitlab.com/nbebaw/boostchanger + arch = any + license = MIT + makedepends = git + source = https://gitlab.com/nbebaw/boostchanger/-/archive/v1.4/boostchanger-v1.4.tar.gz + md5sums = SKIP + +pkgname = boostchanger-appimage + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9c1a68ee76e8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: nbebaw +pkgname=boostchanger-appimage +pkgver=1.4 +pkgrel=0 +pkgdesc="Control your CPU Turbo Boost with this App" +arch=('any') +url="https://gitlab.com/nbebaw/boostchanger" +license=('MIT') +makedepends=('git') +source=("https://gitlab.com/nbebaw/boostchanger/-/archive/v$pkgver/boostchanger-v$pkgver.tar.gz") +md5sums=('SKIP') + +prepare() { + pkgverold=1.2 + rm -rf ${pkgdir}/opt/boostchanger-v$pkgverold + tar -xf boostchanger-v$pkgver.tar.gz +} + +package() { + mkdir -p ${pkgdir}/opt + cd boostchanger-v$pkgver/app + cp -r boostchanger-v$pkgver ${pkgdir}/opt + install -Dm755 boostchanger.sh ${pkgdir}/usr/bin/boostchanger + install -Dm644 boostchanger.desktop ${pkgdir}/usr/share/applications/boostchanger.desktop + install -Dm644 boostchanger.png ${pkgdir}/usr/share/pixmaps/boostchanger.png +} + |