summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c047a384d18a909e019ef58c5436507cf3f55214 (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
# Maintainer: Raymond Li <aur@raymond.li>
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: taylorchu <tailinchu [at] gmail [dot] com>

pkgname=gistit
pkgver=0.1.4
pkgrel=1
pkgdesc='Send content from console/file to GitHub gist'
arch=('any')
url='https://github.com/jrbasso/gistit'
license=('GPL2')
depends=('curl' 'jansson')
source=("$pkgname-$pkgver.tar.gz::https://github.com/jrbasso/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('983684664d9cac5237558c7b29b73851')


build() {
  cd $pkgname-$pkgver

  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR="$pkgdir" install
}