29 lines
773 B
Bash
29 lines
773 B
Bash
# Maintainer: Yves G. <theYinYeti@yalis.fr>
|
||
|
||
pkgname=epsi2ical
|
||
pkgver=0.3
|
||
pkgrel=1
|
||
pkgdesc="Create an ICS file based on EPSI’s web calendar"
|
||
arch=('any')
|
||
url="https://yalis.fr/git/yves/epsi2ics"
|
||
license=('GPL3')
|
||
source=("git+https://yalis.fr/git/yves/epsi2ics#tag=${pkgver}")
|
||
sha1sums=('SKIP')
|
||
optdepends=(
|
||
'smtp-forwarder: notify of calendar changes using `sendmail`'
|
||
)
|
||
|
||
package() {
|
||
cd "${srcdir}/epsi2ics"
|
||
|
||
mkdir -p "${pkgdir}/usr/bin"
|
||
cp epsiEDTtoICS.sh "${pkgdir}/usr/bin/epsi2ical"
|
||
chmod 755 "${pkgdir}/usr/bin/epsi2ical"
|
||
|
||
mkdir -p "${pkgdir}/usr/lib/systemd/system"
|
||
cp epsi2ical-{full,patch}@.{service,timer} "${pkgdir}/usr/lib/systemd/system/"
|
||
|
||
mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
|
||
cp README.adoc "${pkgdir}/usr/share/doc/${pkgname}/"
|
||
}
|