blob: 798e20de1a7f5fa4f15321a85a9f68655164e3f9 (
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
|
# Maintainer: vmalloc vmalloc@olanfa.de
pkgname=tinylock
pkgver=1.20
pkgrel=1
pkgdesc="provides a lock function for process locking"
arch=('i686' 'x86_64')
url="https://jeremy.kister.net/code/File-TinyLock-1.20/README"
license=('Artistic License')
depends=('perl')
makedepends=(make)
source=("https://jeremy.kister.net/code/File-TinyLock-$pkgver.tgz")
sha512sums=('f64015000b64346bc243db912c66cb0fb3a6642dddb1cbff40778176c3ca395bb01e36f6e4b5d762573ac731a0cfcbb942b965c2282613b9ebc2c955147f799b')
build() {
cd "$srcdir/File-TinyLock-$pkgver"
perl Makefile.PL || return 1
make || return 1
make test || return 1
}
package() {
cd "${srcdir}"/File-TinyLock-${pkgver}
make install DESTDIR="${pkgdir}"
}
|