summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a557e28a2cb80ef11a92c5e425b4e8607b168f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Duy Truong <jimreynold2nd@yahoo.com>
pkgname=ubports-installer
pkgver=0.9.1_beta
_ver=${pkgver//_/-}
pkgrel=2
pkgdesc='A simple tool to install Ubuntu Touch on UBports devices'
arch=('x86_64' 'i686')
url='https://github.com/ubports/ubports-installer'
license=('GPL3')
depends=('android-tools' 'android-udev' 'electron' 'e2fsprogs' 'heimdall')
options=('!strip' '!emptydirs')
conflicts=('ubports-installer-git' 'ubports-installer-bin')
source=("$pkgname-$pkgver.deb::https://github.com/ubports/ubports-installer/releases/download/$_ver/ubports-installer_${_ver}_linux_amd64.deb")
sha512sums=('0b7921370bab98a847cd3d40872ba1a6ca50af08f6f889a40f1c7e9f52e02d481e1c85dbfb4452d853086b86821c5b803ffb45ede8fd8a258c1f2cc15767cebe')

package() {
        tar xf data.tar.xz -C "${pkgdir}"
        install -D -m644 "${pkgdir}/opt/ubports-installer/resources/app.asar.unpacked/node_modules/universalify/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}