diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e0c739b6faf8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Alexey Ermakov <fufler[at]gmail[dot]com> + +pkgname=gnupod-git +_pkgname=gnupod +pkgver=520.a3f4c9c +pkgrel=1 +pkgdesc="GNUpod is a collection of tools which allow you to use your iPod under GNU/Linux and other UNIX-like operating systems." +arch=('any') +url="https://github.com/richvdh/gnupod" +license=('GPL3') +depends=('perl-digest-sha1' 'perl-xml-parser' 'perl-unicode-string' 'perl-mp3-info' 'perl-date-parse' 'perl-text-charwidth') +makedepends=('git') +source=("git+https://github.com/richvdh/${_pkgname}.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${srcdir}/${_pkgname}" + autoconf + ./configure --prefix=/usr + make +} + +package() { + install=gnupod.install + + cd "${srcdir}/${_pkgname}" + make DESTDIR="$pkgdir/" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} |