summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew Sun2019-01-06 13:16:22 -0500
committerAndrew Sun2019-01-06 13:16:22 -0500
commit081a5e6b65b8e0cd3bbe3e3862832158d4c51444 (patch)
tree157f343a5520c5cb247a19e8ce1ada6d6171e0ab /PKGBUILD
parente08614522c1dc5a8c58336fff086cb6f24d8de90 (diff)
downloadaur-libinklevel.tar.gz
libinklevel: update to 0.9.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 53df2d984ab..448237fd275 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,26 @@
+# Maintainer: Andrew Sun <adsun701@gmail.com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Axel Reidemeister[computerkranker] <mail@axelreidemeister.de>
pkgname=libinklevel
-pkgver=0.9.2
+pkgver=0.9.3
pkgrel=1
pkgdesc="A library for checking the ink level of your printer"
arch=('i686' 'x86_64')
url="http://libinklevel.sourceforge.net/"
license=('GPL')
-depends=('libieee1284')
+depends=('libieee1284' 'libusb')
options=('!libtool')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('d9f61d14afc2025da454a624578b2be8')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('29d8348e3954a91f7722027181f006c22761c9b6b190d35540fc4ffb258b93ff')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
-} \ No newline at end of file
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}