summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9804bbab58151a236598d1ae74cb63e2dad9e2ad (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
26
27
28
29
30
31
32
# Maintainer: Lettier <gifcurry_aur a@@at@t lettier dd.ot..t ccommm>

_name=gifcurry
_ver=5.0.0.0
_xrev=0

pkgname=${_name}
pkgver=${_ver}_${_xrev}
pkgrel=1
pkgdesc="Your open source video to GIF maker built with Haskell."
url="https://github.com/lettier/gifcurry"
license=("BSD3")
arch=("x86_64")
makedepends=()
depends=("gtk3" "imagemagick" "gstreamer" "gst-plugins-base-libs" "gst-plugins-base" "gst-plugins-good")
options=()
source=("https://www.github.com/lettier/${_name}/releases/download/${_ver}/${_name}-linux-${_ver}.tar.gz")
md5sums=('70a176ed398a957ded0297eb73004c45')

package() {
  cd "${srcdir}/${_name}-linux-${_ver}"
  mkdir -p \
    "${pkgdir}/opt/${_name}-linux-${_ver}/" \
    "${pkgdir}/usr/bin/" \
    "${pkgdir}/usr/share/applications/" \
    "${pkgdir}/usr/share/icons/hicolor/scalable/apps/"
  cp -RP . "${pkgdir}/opt/${_name}-linux-${_ver}/"
  cp ./share/applications/com.lettier.gifcurry.desktop "${pkgdir}/usr/share/applications/"
  cp ./share/icons/hicolor/scalable/apps/com.lettier.gifcurry.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/"
  ln -s "/opt/${_name}-linux-${_ver}/bin/gifcurry_gui" "${pkgdir}/usr/bin/gifcurry_gui"
  ln -s "/opt/${_name}-linux-${_ver}/bin/gifcurry_cli" "${pkgdir}/usr/bin/gifcurry_cli"
}