summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 89f5ffe2eb03b41998ae43f3268e466eafea40bb (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
33
34
35
36
# Maintainer: agnotek <agnostic.sn [at] gmail [dot] com>

pkgname=uudownloader
pkgver=1.6
pkgrel=2
pkgdesc="Downloader for uupgrades - only gets the program"
arch=('any')
url="http://manjaro.org"
license=('GPL3')
makedepends=('zip')
depends=('yad' 'gksu')
options=('!strip')
md5sums=('1228dd97314c702859d44cf1d8df6508'
	 '5ffbc62685af0fd585ce85d5dea11014')

source=("https://dl.dropboxusercontent.com/u/9839330/uupgrades/AUR-Files/uudownloader/uudownloader-$pkgver.tar.gz"
	"uudowner.desktop")

package() {
  cd "${srcdir}"

  install -dm755 "${pkgdir}/usr/share/${pkgname}"
  install -dm755 "${pkgdir}/usr/bin"

  # Program
  echo "${pkgdir}/usr/share/${pkgname}/"
  install -Dm755 ${srcdir}/uudownloader "${pkgdir}/usr/share/${pkgname}/"

  # Link to program
  mkdir -p "${pkgdir}/usr/bin"
  ln -s "/usr/share/${pkgname}/uudownloader" "${pkgdir}/usr/bin/uudownloader"

  # Desktop file
  install -Dm644 "${srcdir}/uudowner.desktop" "${pkgdir}/usr/share/applications/uudowner.desktop"
}