summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1372cf991ef1da8faf5b25559c332fa7b8b6526 (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
# Maintainer: Alexey Peschany <archlinux at sandboiii dot xyz>
# Contributor: Frederik Schwan <freswa at archlinux dot org>
# Contributor: Giovanni Harting <539@idlegandalf.com>
# Contributor: aimileus <me at aimileus dot nl>
# Contributor: Salvador PardiƱas <darkfm@vera.com.uy>

pkgname=woeusbgui
pkgver=3.3.1
pkgrel=3
pkgdesc='UNMAINTAINED old gui version'
arch=('x86_64')
url='https://github.com/slacka/WoeUSB'
license=('GPL3')
conflicts=('woeusb')
install=unmaintained.install
depends=('dosfstools' 'grub' 'ntfs-3g' 'parted' 'wget' 'wxwidgets-gtk3')
source=("https://github.com/slacka/WoeUSB/archive/v${pkgver}/woeusb-${pkgver}.tar.gz")
b2sums=('1423ecca39018c674b0eea36de732f54cfcdd14b8cc465e6d3c0639192cbd8355436b7a39ba453b19fa6f1c5b1f6938ef12f49710bc2a4af0f2eaed967e03ce7')

prepare() {
  cd WoeUSB-${pkgver}
  find . -type f -print0 | xargs -0 sed -i "s/@@WOEUSB_VERSION@@/${pkgver}/" || die
  autoreconf --install
}

build() {
  cd WoeUSB-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd WoeUSB-${pkgver}
  make DESTDIR="${pkgdir}" install
}