summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Ascher2016-07-18 13:23:47 +0200
committerThomas Ascher2016-07-18 13:23:47 +0200
commit75ea7d16f8915a58ac167de915d840e37b5b8db8 (patch)
treefaf962533b0b128fbcf61fb9349447f83e13c899
downloadaur-75ea7d16f8915a58ac167de915d840e37b5b8db8.tar.gz
initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD41
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8c94bff07be
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ftp.app
+ pkgdesc = A compact and handy application for file transfers using the FTP protocol (RFC 765).
+ pkgver = 0.5
+ pkgrel = 1
+ url = http://www.nongnu.org/gap/ftp/index.html
+ arch = i686
+ arch = x86_64
+ groups = gnustep
+ license = GPL
+ makedepends = gcc-objc
+ makedepends = gnustep-make
+ depends = gnustep-base
+ depends = gnustep-gui
+ source = http://savannah.nongnu.org/download/gap/FTP-0.5.tar.gz
+ sha256sums = 159b297df1d797f6a4af2aa353380eeecc99078db27ecc5172e90c5bc3f06073
+
+pkgname = ftp.app
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ef1f047389c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Thomas Ascher <thomas.ascher@gmx.at>
+# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
+pkgname=ftp.app
+_pkgname=FTP
+pkgrel=1
+pkgver=0.5
+pkgdesc="A compact and handy application for file transfers using the FTP protocol (RFC 765)."
+arch=('i686' 'x86_64')
+url="http://www.nongnu.org/gap/ftp/index.html"
+license=('GPL')
+groups=('gnustep')
+depends=('gnustep-base'
+ 'gnustep-gui')
+makedepends=('gcc-objc'
+ 'gnustep-make')
+source=("http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz")
+sha256sums=('159b297df1d797f6a4af2aa353380eeecc99078db27ecc5172e90c5bc3f06073')
+
+build() {
+ cd "$_pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$_pkgname.desktop"
+}
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}