summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 617f2b6c4987acaeeebdda1ff3fa740b211482e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Srevin Saju <srevin03@gmail.com>

pkgname=sugar-datastore-git
pkgver=0.116.g
pkgrel=5
pkgdesc="Sugar datastore service"
arch=('x86_64')
url="https://sugarlabs.org/"
license=('GPL')
depends=('python-dbus' 'python-gobject' 'python-xapian')
source=("git+https://github.com/sugarlabs/sugar-datastore.git")
sha256sums=('SKIP')

prepare() {
  cd $pkgname-$pkgver
  # d -i 's@^#!.*python$@#!/usr/bin/python2@' bin/copy-to-journal
}

build() {
  cd $pkgname-$pkgver
  chmod +x ./autogen.sh
  ./autogen.sh --prefix=/usr --with-python3
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}