blob: 0ef0a2254a66df471706ca3279f1e58c75f771e1 (
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
34
35
36
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=congress-git
pkgver=r728.f327c0a
pkgrel=1
pkgdesc='Public domain data collectors for the work of Congress, including
legislation, amendments, and votes.'
arch=('any')
url='https://github.com/unitedstates/congress/wiki'
license=('CC0')
depends=(python libxml2 libxslt zlib python-pyaml python-iso8601 python-dateutil
python-lxml python-pytz python-cssselect python-scrapelib python-mechanize
python-beautifulsoup4 python-mock python-xmltodict python-rtyaml)
makedepends=(python python-setuptools)
provides=(congress)
conflicts=(congress)
source=('git+https://github.com/unitedstates/congress.git')
sha256sums=('SKIP')
_pkgname=congress
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
mkdir -p ${pkgdir}/usr/bin
cp run ${pkgdir}/usr/bin
cp -r contrib ${pkgdir}/usr/bin
cp -r scripts ${pkgdir}/usr/bin
cp -r tasks ${pkgdir}/usr/bin
}
|