2020-02-09 17:36:10 +01:00
|
|
|
|
# Maintainer: Yves G. <theYinYeti@yalis.fr>
|
|
|
|
|
|
|
|
|
|
pkgname=epsi2ical
|
2020-02-10 21:41:52 +01:00
|
|
|
|
pkgver=0.3
|
2020-02-09 17:36:10 +01:00
|
|
|
|
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}/"
|
|
|
|
|
}
|