convert to using tagged download from github
This commit is contained in:
parent
f66a600dfc
commit
a1b44d68f9
1 changed files with 8 additions and 16 deletions
24
PKGBUILD
24
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=petrified
|
||||
pkgver=1.0.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Bash client to update dynamic DNS at freedns.afraid.org"
|
||||
arch=('any')
|
||||
url="https://github.com/troyengel/petrified"
|
||||
|
|
@ -11,27 +11,19 @@ options=('emptydirs')
|
|||
depends=('util-linux' 'coreutils' 'bash' 'iproute2' 'curl')
|
||||
install=petrified.archinst
|
||||
backup=('etc/petrified.conf')
|
||||
source=('petrified'
|
||||
'petrified.conf'
|
||||
'petrified.crontab'
|
||||
'petrified.dispatch'
|
||||
'petrified.logrotate'
|
||||
'README.md'
|
||||
'LICENSE')
|
||||
md5sums=('1bd8884a60ef9d56e1d8bab5febd9618'
|
||||
'3afaa609eaf5089d968167d5298aed31'
|
||||
'96748831c58c8b64e786a9f7386db22e'
|
||||
'01d6dd718325644c3bfbc89030d66a21'
|
||||
'66aff4c7c44404f32315abdab0a479bc'
|
||||
'56ab643013bdea713f0e67a095e77b56'
|
||||
'd32239bcb673463ab874e80d47fae504')
|
||||
source=("https://github.com/troyengel/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
md5sums=('51eb41827d256950f0aa76710b23fef0')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
# Install the system bits
|
||||
install -Dm0755 petrified "${pkgdir}/usr/bin/petrified"
|
||||
install -Dm0640 petrified.conf "${pkgdir}/etc/petrified.conf"
|
||||
install -Dm0600 petrified.conf "${pkgdir}/etc/petrified.conf"
|
||||
install -Dm0644 petrified.logrotate "${pkgdir}/etc/logrotate.d/petrified"
|
||||
install -dm0755 "${pkgdir}/var/cache/petrified"
|
||||
|
||||
# Install examples for the user
|
||||
install -dm0755 "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
install -m0644 petrified.conf petrified.crontab petrified.dispatch \
|
||||
README.md "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue