forked from mirror/needrestart
add needrestart
This commit is contained in:
commit
9d2eeb9f0d
2 changed files with 50 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = needrestart
|
||||
pkgdesc = Restart daemons after library updates.
|
||||
pkgver = 2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/liske/needrestart
|
||||
arch = any
|
||||
license = GPL
|
||||
depends = perl-module-find
|
||||
depends = perl-term-readkey
|
||||
depends = perl-proc-processtable
|
||||
depends = perl-sort-naturally
|
||||
options = !emptydirs
|
||||
source = needrestart-2.0.tar.gz::https://github.com/liske/needrestart/archive/v2.0.tar.gz
|
||||
sha256sums = 3626079004ad04a744e647a14ee5dc19b02fc306e9b790c530120ff509a348c9
|
||||
|
||||
pkgname = needrestart
|
||||
|
33
PKGBUILD
Normal file
33
PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: Thomas Weißschuh <thomas t-8ch.de>
|
||||
|
||||
pkgname=needrestart
|
||||
url=https://github.com/liske/needrestart
|
||||
pkgdesc='Restart daemons after library updates.'
|
||||
pkgver=2.0
|
||||
pkgrel=1
|
||||
source=("needrestart-${pkgver}.tar.gz::https://github.com/liske/needrestart/archive/v${pkgver}.tar.gz")
|
||||
arch=(any)
|
||||
license=('GPL')
|
||||
options=(!emptydirs)
|
||||
depends=(perl-module-find
|
||||
perl-term-readkey
|
||||
perl-proc-processtable
|
||||
perl-sort-naturally
|
||||
)
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
sed -i -e 's|/usr/sbin|/usr/bin|' Makefile
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
sha256sums=('3626079004ad04a744e647a14ee5dc19b02fc306e9b790c530120ff509a348c9')
|
Loading…
Add table
Reference in a new issue