diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2017-12-18 18:56:42 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2017-12-18 18:56:42 +0100 |
commit | 19237cf8cf1fac13546af432f1158744fc05c99d (patch) | |
tree | 3b7f644c9b3bc8faba865c0c1d319f542d077803 /pcr/california/PKGBUILD | |
parent | 766405e9fb2239f3b25782e574aad5f5b5144d28 (diff) | |
download | abslibre-19237cf8cf1fac13546af432f1158744fc05c99d.tar.gz abslibre-19237cf8cf1fac13546af432f1158744fc05c99d.tar.bz2 abslibre-19237cf8cf1fac13546af432f1158744fc05c99d.zip |
pcr/california, nonprism/california: cleaned up pkgbuilds, rebuilt for updated libical
Diffstat (limited to 'pcr/california/PKGBUILD')
-rw-r--r-- | pcr/california/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/pcr/california/PKGBUILD b/pcr/california/PKGBUILD index ca6f64e11..d479f7464 100644 --- a/pcr/california/PKGBUILD +++ b/pcr/california/PKGBUILD @@ -22,20 +22,27 @@ sha256sums=('b25f356363a9f8f8f93c7ab78af02de39f9c3b71964663129ac9904de9147eb6' 'f512f50470954ec4018c99c49c37fa7e23074653a2e090ff13e32631ec10293d' '6a49d69d260e240bc0f8d4cf03098dbcba774ea5000fd038a879489683bf881d') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i "$srcdir/0002-Build-with-evolution-data-server-3.13.90.patch" + patch -Np1 -i "$srcdir/california-remove-is_utc.patch" + + ./configure \ + --prefix=/usr + + sed -i 's#californiadocdir = ${prefix}#californiadocdir = ${datadir}#g' Makefile + sed -i 's/static const/const/' src/host/host-main-window.vala + sed -i 's/static const/const/' src/application/california-application.vala +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 < ../0002-Build-with-evolution-data-server-3.13.90.patch - patch -Np1 -i ../california-remove-is_utc.patch - ./configure \ - --prefix=/usr - sed -i 's#californiadocdir = ${prefix}#californiadocdir = ${datadir}#g' Makefile - sed -i 's/static const/const/' src/host/host-main-window.vala - sed -i 's/static const/const/' src/application/california-application.vala - make + cd "${srcdir}/${pkgname}-${pkgver}" + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make install DESTDIR="$pkgdir" - install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE + cd "${srcdir}/${pkgname}-${pkgver}" + make install DESTDIR="$pkgdir" + install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE } |