summaryrefslogtreecommitdiff
path: root/community/nut/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nut/PKGBUILD')
-rw-r--r--community/nut/PKGBUILD40
1 files changed, 0 insertions, 40 deletions
diff --git a/community/nut/PKGBUILD b/community/nut/PKGBUILD
deleted file mode 100644
index d98fa95df..000000000
--- a/community/nut/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Slash <demodevil5 [at] yahoo [dot] com>
-
-pkgname=nut
-pkgver=17.5
-pkgrel=1
-pkgdesc='Records what you eat and analyzes your meals for nutrient levels in terms of the Daily Value or DV which is the standard for food labeling in the US.'
-url='http://nut.sourceforge.net/'
-license=('GPL')
-arch=('i686' 'x86_64')
-source=("http://downloads.sourceforge.net/project/nut/nut/${pkgver}/nut-${pkgver}.tar.gz")
-md5sums=('1b18b9fab54a778f21ee4cd95fca5c63')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- # change install path to /usr instead of /usr/local
- sed \
- -e 's#/local##' \
- -i Makefile
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- # Install Data
- install -d ${pkgdir}/usr/lib/${pkgname}
- install -m644 raw.data/* \
- ${pkgdir}/usr/lib/${pkgname}/
-
- # Install Binary
- install -D ${pkgname} \
- ${pkgdir}/usr/bin/${pkgname}
-
- # Install Man Page
- install -D -m644 ${pkgname}.1 \
- ${pkgdir}/usr/share/man/man1/${pkgname}.1
-}