diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-01 10:54:59 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-01 10:54:59 +0200 |
commit | cf0683dc76f51d73a69c54d97f1133526ab64ed6 (patch) | |
tree | fceb3dc8d59694229d136cffe9aac9e88c20ad29 | |
parent | test (diff) | |
download | geolocate-cf0683dc76f51d73a69c54d97f1133526ab64ed6.tar.gz geolocate-cf0683dc76f51d73a69c54d97f1133526ab64ed6.tar.bz2 geolocate-cf0683dc76f51d73a69c54d97f1133526ab64ed6.zip |
Added service file
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index 20cf474..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer Manuel Palenzuela <sadshinobi@protonmail.com> - -author=Baitinq -pkgname=geolocate-git -pkgbase=geolocate -pkgver=r13.3c5f8a1 -pkgrel=1 -pkgdesc="Obtain an ip's approximate latitude and longitude in a simplistic format (latitude:longitude)" -url="https://github.com/Baitinq/geolocate" -depends=('bash' 'curl' 'jq' 'gnu-netcat') -makedepends=('git') -license=('GPL') -arch=('any') -source=("git+https://github.com/$author/$pkgbase.git") - -md5sums=('SKIP') -sha1sums=('SKIP') -sha256sums=('SKIP') - -pkgver() { - cd "${srcdir}/${pkgbase}" - - # Get the version number. - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -package() { - cd "${srcdir}/${pkgbase}" - - # Install the program. - install -Dm755 geolocate "${pkgdir}/usr/bin/geolocate" -} |