summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 285429d3cae624825c30bb57b70c74d49a05f192 (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
# Maintainer: Jefferson Gonzalez <jgmdev@gmail.com>

pkgname=uftpd
pkgver=2.15
pkgrel=1
pkgdesc="FTP/TFTP server for Linux that just works"
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/troglobit/uftpd"
license=('ISC')
depends=('libite' 'libuev')
conflicts=('tftp-hpa' 'tftp-hpa-destruct')
source=(https://github.com/troglobit/uftpd/archive/v$pkgver.tar.gz)
md5sums=('a18cb8e517bf83d89a311e7b98df55fb')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./autogen.sh
  ./configure --prefix=/usr --sbindir=/usr/bin \
    --localstatedir=/var --sysconfdir=/etc
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}