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