1
0
Fork 0
seafile-aur/PKGBUILD

65 lines
2.2 KiB
Bash
Raw Normal View History

2013-02-01 07:02:59 -05:00
# Maintainer: Aaron Lindsay <aaron@aclindsay.com>
# Name of the Software your PKGBUILD will install - should be unique. See PKGBUILD#pkgname
pkgname=seafile
# The version number for the software
2013-02-01 07:30:14 -05:00
pkgver=1.4.5
2013-02-01 07:02:59 -05:00
#The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase
2013-02-23 10:35:40 -05:00
pkgrel=2
2013-02-01 07:02:59 -05:00
# The description of the package, should be about 80 characters long (one line)
pkgdesc="Seafile is an open-source Dropbox replacement."
# The type of processor this software can build and work on. See PKGBUILD#arch
arch=('i686' 'x86_64')
# The official website for the software your PKGBUILD will install
url="http://seafile.com"
# The License that the software is released under. See PKGBUILD#license
license=('GPLv3')
# Packages that your software needs to run. If the dependancy requires a minimum version number use the >= operator
2013-02-01 07:30:14 -05:00
depends=('glib2>=2.28' 'libevent>=2.0' 'curl' 'util-linux' 'intltool>=0.40' 'sqlite>=3.7' 'libmysqlclient>=5.5' 'gtk2>=2.24' 'python2-mako' 'python2-webpy' 'python2-simplejson' 'python2-imaging' 'python2-pip' 'python2-virtualenv' 'libnotify' 'gunicorn' 'python2-djblets' 'ccnet>=1.3.0' 'libsearpc' 'libevhtp')
2013-02-01 07:02:59 -05:00
# Packages that must be installed to build the software, but at not necessary to run it
makedepends=()
# Optional packages that extend the software's functionality
optdepends=()
# List of Package names that this PKGBUILD provides. Put modified packages that will be installed here.
provides=()
conflicts=('django' 'django-rest-framework')
# Change the default behavior of makepkg see PKGBUILD#options
options=
install=seafile.install
2013-02-23 10:35:40 -05:00
source=("http://seafile.googlecode.com/files/seafile-1.4.5.tar.gz"
2013-02-01 07:02:59 -05:00
"seafile-admin.patch")
2013-02-23 10:35:40 -05:00
sha256sums=('d298ea339a8ddc3cec0d8513032b15b1c53ee27bb4afc69f147bca57258fe9fb'
2013-02-01 07:02:59 -05:00
'0d9578b85c00f3087a19f227b29c3fda13e83d093d024c68c1df5575d30d56dc')
prepare () {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i $srcdir/seafile-admin.patch
}
build () {
prepare
cd "$srcdir/$pkgname-$pkgver"
./configure --enable-server --enable-httpserver --prefix=/usr PYTHON=/usr/bin/python2
make
}
package () {
#install library and header files
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}