Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
- pkgname=nautilus-ideviceinfo-git
- _gitname=nautilus-ideviceinfo
- pkgver=0.1.0.r106.gbc637ee
- pkgrel=1
- pkgdesc='Show information about your iOS device'
- arch=('i686' 'x86_64')
- url='https://gitlab.gnome.org/GNOME/nautilus-ideviceinfo'
- license=('GPL')
- depends=('glib2' 'gtk3' 'libplist' 'libimobiledevice' 'libnautilus-extension')
- optdepends=('mobile-broadband-provider-info: to show mobile carrier'
- 'libgpod>=0.7.90: to enable detailed audio/video information')
- makedepends=('intltool')
- options=(!libtool)
- source=('nautilus-ideviceinfo.patch'
- "git+https://gitlab.gnome.org/GNOME/${_gitname}.git")
- sha256sums=('5ef2d9e77638e1a1f1cb0b6ac59f85b76ce8290e4c98c627a65202468ac9ef1c'
- 'SKIP')
- pkgver() {
- cd "${srcdir}/${_gitname}"
- # Use the tag of the last commit
- git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
- # Use current date
- # date +%Y%m%d
- }
- prepare() {
- cd "${srcdir}/${_gitname}"
- patch --forward --strip=1 --input="${srcdir}/nautilus-ideviceinfo.patch"
- }
- build() {
- cd ${srcdir}/${_gitname}
- ./autogen.sh --prefix=/usr
- make
- }
- package() {
- cd "${srcdir}/${_gitname}"
- make DESTDIR="${pkgdir}" install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement