gtkhash-nemo-git 0.7.0.r4.ga01ad64-1 by Marc.2377
4 removals
66 lines
11 additions
72 lines
# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
pkgbase=gtkhash-git
pkgbase=gtkhash-git
pkgname=(gtkhash-git gtkhash-nemo-git gtkhash-nautilus-git gtkhash-thunar-git)
pkgname=(gtkhash-git gtkhash-nemo-git gtkhash-nautilus-git gtkhash-thunar-git)
pkgver=0.7.0.r4.ga01ad64
pkgver=v1.2.r146.g44b88f5
pkgrel=1
pkgrel=1
pkgdesc='A GTK+ utility for computing message digests or checksums (development version).'
pkgdesc='A GTK+ utility for computing message digests or checksums (development version).'
arch=('i686' 'x86_64')
arch=('i686' 'x86_64')
url='http://gtkhash.sourceforge.net/'
url='http://gtkhash.sourceforge.net/'
license=('GPL')
license=('GPL')
makedepends=('intltool' 'git' 'nemo' 'libnautilus-extension' 'thunar') # ← remove FMs here!
makedepends=('intltool' 'git' 'libb2' 'nemo' 'libnautilus-extension' 'thunar') # ← remove FMs here!
depends=('dconf' 'nettle' 'gtk3')
depends=('dconf' 'nettle' 'gtk3')
conflicts=('gtkhash')
provides=('gtkhash')
source=(gtkhash::"git+https://github.com/tristanheaven/gtkhash.git"
source=(gtkhash::"git+https://github.com/tristanheaven/gtkhash.git"
"gtkhash.desktop")
"gtkhash.desktop")
sha256sums=('SKIP'
sha256sums=('SKIP'
'f0312086093f0dd5ce0cfd6c9312abd42b57401960c39c19377372c154a32388')
'f0312086093f0dd5ce0cfd6c9312abd42b57401960c39c19377372c154a32388')
pkgver() {
pkgver() {
cd gtkhash
cd gtkhash
git describe --long --tags | sed 's/-/.r/;s/-/./'
git describe --long --tags | sed 's/-/.r/;s/-/./'
}
}
build() {
build() {
cd gtkhash
cd gtkhash
./autogen.sh
./autogen.sh
./configure --prefix=/usr --disable-schemas-compile --enable-gtkhash \
./configure --prefix=/usr --disable-schemas-compile --enable-gtkhash \
--enable-linux-crypto --enable-nettle --with-gtk=3.0 \
--enable-linux-crypto --enable-nettle --with-gtk=3.0 \
--enable-nemo --enable-nautilus --enable-thunar # ← remove FMs here!
--enable-nemo --enable-nautilus --enable-thunar # ← remove FMs here!
make
make
}
}
package_gtkhash-git() {
package_gtkhash-git() {
conflicts=('gtkhash')
provides=('gtkhash')
install=gtkhash.install
install=gtkhash.install
make -C gtkhash DESTDIR="$pkgdir/" install
make -C gtkhash DESTDIR="$pkgdir/" install
# install desktop entry
# install desktop entry
install -Dm644 gtkhash.desktop "$pkgdir"/usr/share/applications/gtkhash.desktop
install -Dm644 gtkhash.desktop "$pkgdir"/usr/share/applications/gtkhash.desktop
# remove filemanager plugins
# remove filemanager plugins
rm -rf "$pkgdir"/usr/lib
rm -rf "$pkgdir"/usr/lib
}
}
package_gtkhash-nemo-git() {
package_gtkhash-nemo-git() {
pkgdesc+=' - Nemo filemanager plugin'
pkgdesc+=' - Nemo filemanager plugin'
depends=('gtkhash-git' 'nemo')
depends=('gtkhash-git' 'nemo')
conflicts=('gtkhash-nemo')
provides=('gtkhash-nemo')
make -C gtkhash/src/nemo DESTDIR="$pkgdir/" install
make -C gtkhash/src/nautilus DESTDIR="$pkgdir/" install
}
}
package_gtkhash-nautilus-git() {
package_gtkhash-nautilus-git() {
pkgdesc+=' - Nautilus filemanager plugin'
pkgdesc+=' - Nautilus filemanager plugin'
depends=('gtkhash-git' 'nautilus')
depends=('gtkhash-git' 'nautilus')
conflicts=('gtkhash-nautilus')
provides=('gtkhash-nautilus')
make -C gtkhash/src/nautilus DESTDIR="$pkgdir/" install
make -C gtkhash/src/nautilus DESTDIR="$pkgdir/" install
}
}
package_gtkhash-thunar-git() {
package_gtkhash-thunar-git() {
pkgdesc+=' - Thunar filemanager plugin'
pkgdesc+=' - Thunar filemanager plugin'
depends=('gtkhash-git' 'thunar')
depends=('gtkhash-git' 'thunar')
conflicts=('gtkhash-thunar')
provides=('gtkhash-thunar')
make -C gtkhash/src/thunar DESTDIR="$pkgdir/" install
make -C gtkhash/src/thunar DESTDIR="$pkgdir/" install
}
}