summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94d67d73c470eb06a2aabb870c739176893db205 (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
# Maintainer: haru_nak <uobikiemukot at gmail dot com>
pkgname=idump
pkgver=0.2.0
pkgrel=1
pkgdesc="tiny image viewer for framebuffer"
arch=('i686' 'x86_64')
url="https://github.com/uobikiemukot/"
license=('MIT')
depends=('libpng' 'libjpeg-turbo')
makedepends=()
source=($url/$pkgname/archive/v$pkgver.tar.gz)

build() {
  cd $srcdir/$pkgname-$pkgver
  export LDFLAGS="-lpng -ljpeg";
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  mkdir -p $pkgdir/usr/bin/
  install -m755 ./idump $pkgdir/usr/bin/idump
}
md5sums=('9c2a1c000eb9ec57df41006f4c52d319')