PKGBUILD-python.proto 774 Bytes
Newer Older
Allan McRae's avatar
Allan McRae committed
1
2
3
4
5
6
7
8
9
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# See http://wiki.archlinux.org/index.php/Python_Package_Guidelines for more
# information on Python packaging.

# Maintainer: Your Name <youremail@domain.com>
matt mooney's avatar
matt mooney committed
10
pkgname=python-NAME
Allan McRae's avatar
Allan McRae committed
11
12
13
14
15
16
pkgver=VERSION
pkgrel=1
pkgdesc=""
arch=()
url=""
license=('GPL')
matt mooney's avatar
matt mooney committed
17
groups=()
Allan McRae's avatar
Allan McRae committed
18
19
20
21
22
23
24
25
26
27
28
29
depends=('python')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=()
md5sums=()

package() {
matt mooney's avatar
matt mooney committed
30
31
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
Allan McRae's avatar
Allan McRae committed
32
33
34
}

# vim:set ts=2 sw=2 et: