mirror of
https://github.com/edu4rdshl/upcheck.git
synced 2026-07-17 23:24:49 +00:00
Remove install file and fix PKGBUILD style.
This commit is contained in:
parent
a01561a398
commit
ce7bb305dd
2 changed files with 7 additions and 13 deletions
|
|
@ -1,24 +1,21 @@
|
|||
# Maintainer: Eduard Toloza edu4rdshl@securityhacklabs.net
|
||||
# Maintainer: Eduard Toloza <tolosaeduard@gmail.com>
|
||||
|
||||
pkgname=upcheck
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Checker for ArchLinux available updates and send it via notify-rust.'
|
||||
arch=('x86_64')
|
||||
url="https://gitlab.com/edu4rdshl/upcheck"
|
||||
url='https://gitlab.com/edu4rdshl/upcheck'
|
||||
license=('GPL3')
|
||||
depends=('pacman-contrib')
|
||||
source=("https://gitlab.com/edu4rdshl/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
"$pkgname.install")
|
||||
sha512sums=('208443c757528396e82980bf31654f5d1802abcd090422a2ceff7bfbfb512e5173f20e5eca5f0d53b8e38c747b1909940d69970e61b5f894923b02f0cf16b948'
|
||||
'SKIP')
|
||||
install="$pkgname.install"
|
||||
source=("https://gitlab.com/edu4rdshl/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('208443c757528396e82980bf31654f5d1802abcd090422a2ceff7bfbfb512e5173f20e5eca5f0d53b8e38c747b1909940d69970e61b5f894923b02f0cf16b948')
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd "$pkgname-$pkgver"
|
||||
install -dm 755 "$pkgdir/usr/lib/systemd/user/"
|
||||
|
||||
install -Dm 755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"
|
||||
install -Dm 755 README.md "$pkgdir/usr/share/doc/$pkgname/README"
|
||||
cp $pkgname.{service,timer} "$pkgdir/usr/lib/systemd/user/"
|
||||
cp "$pkgname".{service,timer} "$pkgdir/usr/lib/systemd/user/"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
post_install () {
|
||||
echo ">> To get upcheck working automatically, you need to enable the upcheck.timer unit via systemd."
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue