summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91dbc497dbbf884cc1dcdd616a9c8276f99d2e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Ivan Zenin <i.zenin@gmx.com>

pkgname=pinboard
pkgver=2.1.2
pkgrel=1
pkgdesc="a full-featured Python wrapper for the Pinboard API (stable version)"
arch=('i686' 'x86_64')
url="https://github.com/lionheart/pinboard.py"
license=("Apache")
depends=("python")
provides=('pinboard')
conflicts=('pinboard-git')
makedepends=('git')
source=("git+git://github.com/lionheart/pinboard.py.git#tag=2.1.2")
md5sums=('SKIP')

package() {
  cd "${srcdir}"/pinboard.py
  python setup.py install \
      --prefix=/usr \
      --root="${pkgdir}"
  find "${pkgdir}" -type d -name .git -exec rm -r '{}' +
}