summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7bf6603030268bdbb5e1a85f3d1118d91a8e14cb (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
30
31
32
33
# Maintainer : Frikilinux <frikilinux@gmail.com>

pkgname=python-aigpy-git
_pkgname=AIGPY
pkgver=r66.2d65c80
pkgrel=1
pkgdesc="Python-universal-library."
arch=('any')
url="https://github.com/AIGMix/AIGPY"
license=('MIT')
depends=('ffmpeg' 'python-requests' 'python-colorama' 'python-mutagen')
makedepends=('python-setuptools')
source=(git+"${url}.git")
sha256sums=('SKIP')
conflicts=('python-aigpy')
provides=('python-aigpy')


pkgver() {
  cd "${_pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${_pkgname}"
  python setup.py build
}

package() {
  cd "${_pkgname}"
  python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}