summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72609547948b7af75f2b4c91129ee94a7d6d6ac4 (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
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>

# All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds

_gitname=KindleTool
pkgname=kindletool
pkgver=1.6.5
pkgrel=2
pkgdesc="Tool for creating/extracting Kindle updates and more"
arch=('i686' 'x86_64')
url="https://github.com/NiLuJe/${_gitname}"
license=('GPL')
depends=('libarchive' 'nettle')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('949cbbd3390a10cb86ebff870a3e00566dbef33630fddb2cbd5ff81f90fb4030')

build() {
    cd "${srcdir}/${_gitname}-${pkgver}"
    make
}

package() {
    cd "${srcdir}/${_gitname}-${pkgver}"
    make DESTDIR="${pkgdir}/" install
}